Project.ToolsVersion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the current version of the Toolset being used by the project.
public:
property System::String ^ ToolsVersion { System::String ^ get(); };
public string ToolsVersion { get; }
member this.ToolsVersion : string
Public ReadOnly Property ToolsVersion As String
Property Value
A string representing the version number of the Toolset.
Remarks
If the Toolset version is overridden, that value becomes the effective Toolset version. If there is a ToolsVersion attribute on the Project element, then that is the effective Toolset version. Otherwise, the Toolset version is the same as the default Toolset version of the parent engine. When set, ToolsVersion overrides the current Toolset version of the project with the provided value.
For more information about Toolsets, see Standard and Custom Toolset Configurations.
Note
To get or set the ToolsVersion attribute on the Project element, use the DefaultToolsVersion property.