Bagikan melalui


Toolset.GenerateSubToolsetVersion Method

Creates the sub toolset version to be used with 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 Function GenerateSubToolsetVersion As String
public string GenerateSubToolsetVersion()
public:
String^ GenerateSubToolsetVersion()
member GenerateSubToolsetVersion : unit -> string
public function GenerateSubToolsetVersion() : String

Return Value

Type: System.String
Returns the sub toolset version to be used with this toolset.

Remarks

If “VisualStudioVersion” is set as a property on the toolset itself, then sub toolset version is set to “VisualStudioVersion”.

Otherwise, sub toolset version is set to the DefaultSubToolsetVersion of the toolset.

.NET Framework Security

See Also

Reference

Toolset Class

GenerateSubToolsetVersion Overload

Microsoft.Build.Evaluation Namespace