Toolset Constructors
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.
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
- 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
- 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.