Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ProjectInstance.ToolsVersion Property

Gets the tools version this project was evaluated with, if any.

Namespace:  Microsoft.Build.Execution
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

public string ToolsVersion { get; }

Property Value

Type: System.String
Returns the tools version this project was evaluated with, if any.

The result is not necessarily the same as the tools version on the Project tag, if any; it may have been externally specified, for example with a /tv switch.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft