Skip to content

Commit feb85cd

Browse files
committed
alphabetical order
1 parent 0ac33a7 commit feb85cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/msbuild/msbuild-reserved-and-well-known-properties.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ The table in this section shows the MSBuild predefined properties. The example c
6565
| `MSBuildProjectFullPath` | Reserved | The absolute path and complete file name of the project file, including the file name extension; for example, *C:\MyCompany\MyProduct\MyApp.proj*. | `c:\Source\Repos\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj`|
6666
| `MSBuildProjectName` | Reserved | The file name of the project file without the file name extension; for example, *MyApp*. | `ConsoleApp1` |
6767
| `MSBuildRuntimeType` | Reserved | The type of the runtime that is currently executing. Introduced in MSBuild 15. Value may be undefined (prior to MSBuild 15), `Full` indicating that MSBuild is running on the desktop .NET Framework, `Core` indicating that MSBuild is running on .NET Core (for example in `dotnet build`), or `Mono` indicating that MSBuild is running on Mono. | `Full` |
68-
| `MSBuildSemanticVersion` | Reserved | The full semver 2.0 version of MSBuild assemblies used to build the project. | 16.11.0-preview-21302-05+5e37cc992 |
6968
| `MSBuildSDKsPath` | Well-known | The path MSBuild uses to find SDKs. | `C:\Program Files (x86)\Microsoft Visual Studio\2019\MSBuild\Sdks`|
69+
| `MSBuildSemanticVersion` | Reserved | The full semver 2.0 version of MSBuild assemblies used to build the project. | 16.11.0-preview-21302-05+5e37cc992 |
7070
| `MSBuildStartupDirectory` | Reserved | The absolute path of the folder where MSBuild is called. By using this property, you can build everything below a specific point in a project tree without creating *\<dirs>.proj* files in every directory. Instead, you have just one project—for example, *c:\traversal.proj*, as shown here:<br /><br /> `<Project ...> <ItemGroup> <ProjectFiles Include="$ (MSBuildStartupDirectory) **\*.csproj"/> </ItemGroup> <Target Name="build"> <MSBuild Projects="@(ProjectFiles)"/> </Target> </Project>`<br /><br /> To build at any point in the tree, type:<br /><br /> `msbuild c:\traversal.proj`<br /><br /> Do not include the final backslash on this property. | `c:\Source\Repos\ConsoleApp1` |
7171
| `MSBuildThisFile` | Reserved | The file name and file extension portion of `MSBuildThisFileFullPath`. | `ConsoleApp1.csproj` |
7272
| `MSBuildThisFileDirectory` | Reserved | The directory portion of `MSBuildThisFileFullPath`.<br /><br /> Include the final backslash in the path. | `c:\Source\Repos\ConsoleApp1\ConsoleApp1\` |
@@ -126,8 +126,8 @@ The table in this section shows the MSBuild predefined properties. The example c
126126
| `MSBuildToolsPath32` | Well-known | The installation path of the 32-bit 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\Microsoft Visual Studio\2022\MSBuild\Current\Bin` |
127127
| `MSBuildToolsPath64` | Well-known | The installation path of the 64-bit 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\Microsoft Visual Studio\2022\MSBuild\Current\Bin\amd64` |
128128
| `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` |
129-
| `MSBuildSemanticVersion` | Reserved | The full semver 2.0 version of MSBuild assemblies used to build the project. | 17.4.0-preview-22465-05+6033e4c95 |
130129
| `MSBuildSDKsPath` | Well-known | The path MSBuild uses to find SDKs. | `C:\Program Files\Microsoft Visual Studio\2022\MSBuild\Sdks`|
130+
| `MSBuildSemanticVersion` | Reserved | The full semver 2.0 version of MSBuild assemblies used to build the project. | 17.4.0-preview-22465-05+6033e4c95 |
131131
| `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. | 17.4.0 |
132132
| `MSBuildWarningsAsErrors` | Well-known | A list of warning codes to treat as errors. | `MSB1234;MSB5678`|
133133
| `MSBuildWarningsAsMessages` | Well-known | A list of warning codes to treat as messages. | `MSB1234;MSB5678`|

0 commit comments

Comments
 (0)