Skip to content

Commit

Permalink
Add two new built-in MSBuild properties
Browse files Browse the repository at this point in the history
The MSBuild change (dotnet/msbuild#6534) will ship with VS 16.11.
  • Loading branch information
cdmihai authored Jun 17, 2021
1 parent a4de961 commit 162a6bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/msbuild/msbuild-reserved-and-well-known-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ The table in this section shows the MSBuild predefined properties. The example c
| `MSBuildThisFileName` | Reserved | The file name portion of `MSBuildThisFileFullPath`, without the file name extension. | `ConsoleApp1` |
| `MSBuildToolsPath` | Reserved | The installation path of the MSBuild version that's associated with the value of `MSBuildToolsVersion`.<br /><br /> Do not include the final backslash in the path.<br /><br /> This property cannot be overridden. | `C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin` |
| `MSBuildToolsVersion` | Reserved | The version of the MSBuild Toolset that is used to build the project.<br /><br /> Note: An MSBuild Toolset consists of tasks, targets, and tools that are used to build an application. The tools include compilers such as *csc.exe* and *vbc.exe*. For more information, see [Toolset (ToolsVersion)](../msbuild/msbuild-toolset-toolsversion.md), and [Standard and custom Toolset configurations](../msbuild/standard-and-custom-toolset-configurations.md). | `Current` |
| `MSBuildVersion` | Reserved | The version of MSBuild used to build the project. <br /><br/> This property can't be overridden, otherwise the error message `MSB4004 - The 'MSBuildVersion' property is reserved, and can not be modified.` is returned. | 16.7.0 |
| `MSBuildVersion` | Reserved | The version of MSBuild used to build the project. <br /><br/> This property can't be overridden, otherwise the error message `MSB4004 - The 'MSBuildVersion' property is reserved, and can not be modified.` is returned. | 16.11.0 |
| `MSBuildAssemblyVersion` | Reserved | The version of MSBuild assemblies used to build the project. | 16.0 |
| `MSBuildFileVersion` | Reserved | The 4 part version of MSBuild assemblies used to build the project. | 16.11.0.30701 |
| `MSBuildSemanticVersion` | Reserved | The full semver 2.0 version of MSBuild assemblies used to build the project. | 16.11.0-preview-21302-05+5e37cc992 |

## Names that conflict with MSBuild elements

Expand Down

0 comments on commit 162a6bf

Please sign in to comment.