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