Implemented interface member:
method
GetToolset
Microsoft.Build.Evaluation.IToolsetProvider.GetToolset(System.String)
25 references to GetToolset
Microsoft.Build (6)
Definition\Project.cs (1)
4300
Project.ProjectCollection.
GetToolset
,
Definition\ProjectCollection.cs (3)
1005
public bool ContainsToolset(string toolsVersion) =>
GetToolset
(toolsVersion) != null;
1089
return Utilities.GenerateToolsVersionToUse(explicitToolsVersion, toolsVersionFromProject,
GetToolset
, DefaultToolsVersion, out _);
1208
string effectiveToolsVersion = Utilities.GenerateToolsVersionToUse(toolsVersion, toolsVersionFromProject,
GetToolset
, DefaultToolsVersion, out _);
Instance\ProjectInstance.cs (2)
399
this.Toolset = project.ProjectCollection.
GetToolset
(project.ToolsVersion);
475
Toolset = linkedProject.ProjectCollection.
GetToolset
(linkedProject.ToolsVersion);
Microsoft.Build.Engine.OM.UnitTests (5)
Definition\Project_Tests.cs (1)
1237
Toolset t = p.ProjectCollection.
GetToolset
(ObjectModelHelpers.MSBuildDefaultToolsVersion);
Definition\ProjectCollection_Tests.cs (4)
957
Assert.Equal(toolset, collection.
GetToolset
("x"));
980
Assert.Equal(toolset1, collection.
GetToolset
("x"));
981
Assert.Equal(toolset2, collection.
GetToolset
("y"));
1004
Assert.Equal(toolset2, collection.
GetToolset
("x"));
Microsoft.Build.Engine.UnitTests (11)
Construction\SolutionProjectGenerator_Tests.cs (1)
442
Toolset t = ProjectCollection.GlobalProjectCollection.
GetToolset
(instances[0].ToolsVersion);
Definition\Toolset_Tests.cs (9)
171
Toolset t = ProjectCollection.GlobalProjectCollection.
GetToolset
("4.0");
199
Toolset parentToolset = projectCollection.
GetToolset
(ObjectModelHelpers.MSBuildDefaultToolsVersion);
233
Toolset parentToolset = projectCollection.
GetToolset
(ObjectModelHelpers.MSBuildDefaultToolsVersion);
267
Toolset parentToolset = projectCollection.
GetToolset
(ObjectModelHelpers.MSBuildDefaultToolsVersion);
289
Toolset parentToolset = projectCollection.
GetToolset
(ObjectModelHelpers.MSBuildDefaultToolsVersion);
311
Toolset parentToolset = projectCollection.
GetToolset
(ObjectModelHelpers.MSBuildDefaultToolsVersion);
339
Toolset parentToolset = projectCollection.
GetToolset
(ObjectModelHelpers.MSBuildDefaultToolsVersion);
455
Toolset parentToolset = projectCollection.
GetToolset
(ObjectModelHelpers.MSBuildDefaultToolsVersion);
540
Toolset parentToolset = projectCollection.
GetToolset
(ObjectModelHelpers.MSBuildDefaultToolsVersion);
Evaluation\Evaluator_Tests.cs (1)
5147
Toolset parentToolset = projectCollection.
GetToolset
(ObjectModelHelpers.MSBuildDefaultToolsVersion);
Microsoft.Build.Utilities.UnitTests (2)
ToolLocationHelper_Tests.cs (2)
692
string tv12path = Path.Combine(ProjectCollection.GlobalProjectCollection.
GetToolset
(ObjectModelHelpers.MSBuildDefaultToolsVersion).ToolsPath, MSBuildExeName);
714
var toolsPath32 = ProjectCollection.GlobalProjectCollection.
GetToolset
(ObjectModelHelpers.MSBuildDefaultToolsVersion).Properties["MSBuildToolsPath32"];
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
192
Toolset t = _privateCollection.
GetToolset
(toolsVersion);