CLI

MSBuild -getProperty

Queries evaluated property values unless target execution is also requested.

Formal Syntax & Structure

csharp syntaxcsharp
dotnet msbuild Inspect.proj -getProperty:BuildLabel

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.dotnet msbuild Inspect.proj -getProperty:BuildLabel
C# & .NET Reference