Partager via


Toolset.DefaultSubToolsetVersion Property

Gets the default sub toolset version for this toolset.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

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

Syntax

'Declaration
Public ReadOnly Property DefaultSubToolsetVersion As String
public string DefaultSubToolsetVersion { get; }
public:
property String^ DefaultSubToolsetVersion {
    String^ get ();
}
member DefaultSubToolsetVersion : string with get
function get DefaultSubToolsetVersion () : String

Property Value

Type: System.String
Returns the default sub toolset version.

Remarks

If Visual Studio 2010 is installed, use the base toolset and return a sub toolset version of “10.0”.

Otherwise, use the highest-versioned sub toolset found. Sub toolsets with numbered versions are ordered numerically; any additional sub toolsets are prepended to the beginning of the list in the order found. Returns null if there is no sub toolset available and Visual Studio 2010 is not installed.

.NET Framework Security

See Also

Reference

Toolset Class

Microsoft.Build.Evaluation Namespace