15 references to ToolsVersion
Microsoft.Build (5)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1173
_requestEntry.RequestConfiguration.Project.
ToolsVersion
);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
217
_toolsVersion = instance.
ToolsVersion
;
Construction\Solution\SolutionProjectGenerator.cs (2)
1071
item.SetMetadata("ToolsVersion", traversalProject.
ToolsVersion
);
1632
!String.Equals(traversalProject.
ToolsVersion
, "2.0", StringComparison.OrdinalIgnoreCase);
Instance\ProjectInstance.cs (1)
2281
rootElement.ToolsVersion =
ToolsVersion
;
Microsoft.Build.Engine.UnitTests (10)
Construction\SolutionProjectGenerator_Tests.cs (8)
374
Assert.Equal("3.5", instances[0].
ToolsVersion
);
411
Assert.Equal("3.5", instances[0].
ToolsVersion
);
440
Assert.Equal(ObjectModelHelpers.MSBuildDefaultToolsVersion, instances[0].
ToolsVersion
);
442
Toolset t = ProjectCollection.GlobalProjectCollection.GetToolset(instances[0].
ToolsVersion
);
484
Assert.Equal(ObjectModelHelpers.MSBuildDefaultToolsVersion, instances[0].
ToolsVersion
);
521
Assert.Equal(ObjectModelHelpers.MSBuildDefaultToolsVersion, instances[0].
ToolsVersion
);
719
Assert.Equal(ObjectModelHelpers.MSBuildDefaultToolsVersion, instances[0].
ToolsVersion
);
1739
Assert.Equal("2.0", msbuildProject.
ToolsVersion
);
Instance\ProjectInstance_Internal_Tests.cs (2)
305
second.
ToolsVersion
.ShouldBe(first.
ToolsVersion
);