6 writes to Toolset
Microsoft.Build (6)
Instance\ProjectInstance.cs (6)
399this.Toolset = project.ProjectCollection.GetToolset(project.ToolsVersion); 475Toolset = linkedProject.ProjectCollection.GetToolset(linkedProject.ToolsVersion); 536this.Toolset = projectToInheritFrom.Toolset; 669this.Toolset = data.Toolset; 752this.Toolset = that.Toolset; 3124this.Toolset = buildParameters.GetToolset(toolsVersionToUse);
24 references to Toolset
Microsoft.Build (11)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
1053return data.ProjectInstance.Toolset.ToolsVersion;
Instance\ProjectInstance.cs (10)
401this.TaskRegistry = new TaskRegistry(Toolset, project.ProjectCollection.ProjectRootElementCache); 477TaskRegistry = new TaskRegistry(Toolset, linkedProject.ProjectCollection.ProjectRootElementCache); 536this.Toolset = projectToInheritFrom.Toolset; 752this.Toolset = that.Toolset; 1098get { return Toolset.ToolsVersion; } 1302{ return Toolset; } 1527get { return _explicitToolsVersionSpecified ? Toolset.ToolsVersion : null; } 3126if (this.Toolset == null) 3138this.SubToolsetVersion = this.Toolset.GenerateSubToolsetVersionUsingVisualStudioVersion(globalProperties, visualStudioVersionFromSolution); 3142this.TaskRegistry = new TaskRegistry(this.Toolset, ProjectRootElementCache);
Microsoft.Build.Engine.UnitTests (13)
Construction\SolutionProjectGenerator_Tests.cs (1)
487if (instances[0].Toolset.SubToolsets.ContainsKey("11.0"))
Instance\ProjectInstance_Internal_Tests.cs (10)
282p.Toolset.ToolsVersion.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion); 325p.Toolset.ToolsVersion.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion); 326p.SubToolsetVersion.ShouldBe(p.Toolset.DefaultSubToolsetVersion); 328if (p.Toolset.DefaultSubToolsetVersion == null) 334p.GetPropertyValue("VisualStudioVersion").ShouldBe(p.Toolset.DefaultSubToolsetVersion); 359p.Toolset.ToolsVersion.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion); 387p.Toolset.ToolsVersion.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion); 428p.Toolset.ToolsVersion.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion); 541second.Toolset.ShouldBe(first.Toolset);
TestComparers\ProjectInstanceModelTestComparers.cs (2)
47Assert.Equal(x.Toolset, y.Toolset, new TaskRegistryComparers.ToolsetComparer());