ProjectCollection.GetToolset(String) Method

Definition

Get the toolset with the specified tools version. If it is not present, returns null.

C#
public Microsoft.Build.Evaluation.Toolset GetToolset(string toolsVersion);

Parameters

toolsVersion
String

The tools version to match.

Returns

The toolset with the specified tools version, or null if no toolset matching this tools version exists.

Applies to

Produit Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1