Toolset Constructors

Definition

Creates a Toolset object.

Overloads

Toolset(String, String)

Creates a Toolset object.

Toolset(String, String, BuildPropertyGroup)

Creates a Toolset object.

Toolset(String, String)

Creates a Toolset object.

public:
 Toolset(System::String ^ toolsVersion, System::String ^ toolsPath);
public Toolset (string toolsVersion, string toolsPath);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public Toolset (string toolsVersion, string toolsPath);
new Microsoft.Build.BuildEngine.Toolset : string * string -> Microsoft.Build.BuildEngine.Toolset
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.BuildEngine.Toolset : string * string -> Microsoft.Build.BuildEngine.Toolset
Public Sub New (toolsVersion As String, toolsPath As String)

Parameters

toolsVersion
String

A string representing the version of the Toolset currently in use.

toolsPath
String

A string representing the path to the Toolset currently in use.

Attributes

Remarks

An ArgumentNullException error is thrown if either parameter value is null. An ArgumentException error is thrown for invalid argument values such as empty strings.

Applies to

Toolset(String, String, BuildPropertyGroup)

Creates a Toolset object.

public:
 Toolset(System::String ^ toolsVersion, System::String ^ toolsPath, Microsoft::Build::BuildEngine::BuildPropertyGroup ^ buildProperties);
public Toolset (string toolsVersion, string toolsPath, Microsoft.Build.BuildEngine.BuildPropertyGroup buildProperties);
new Microsoft.Build.BuildEngine.Toolset : string * string * Microsoft.Build.BuildEngine.BuildPropertyGroup -> Microsoft.Build.BuildEngine.Toolset
Public Sub New (toolsVersion As String, toolsPath As String, buildProperties As BuildPropertyGroup)

Parameters

toolsVersion
String

A string representing the version of the Toolset currently in use.

toolsPath
String

A string representing the path to the Toolset currently in use.

buildProperties
BuildPropertyGroup

A string representing the Toolset-specific custom properties.

Remarks

An ArgumentNullException error is thrown if any of the parameter values are null. An ArgumentException error is thrown for invalid argument values such as empty strings.

Applies to