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