28 references to ToolsVersion
Microsoft.Build (8)
BackEnd\Shared\ConfigurationMetadata.cs (1)
45
_toolsVersion = project.
ToolsVersion
;
Definition\ProjectCollection.cs (2)
2548
if (HasEquivalentGlobalPropertiesAndToolsVersion(existing, project.GlobalProperties, project.
ToolsVersion
))
2615
if (!String.Equals(project.
ToolsVersion
, toolsVersion, StringComparison.OrdinalIgnoreCase))
Instance\ProjectInstance.cs (4)
399
this.Toolset = project.ProjectCollection.GetToolset(project.
ToolsVersion
);
412
_originalProjectToolsVersion = project.
ToolsVersion
;
475
Toolset = linkedProject.ProjectCollection.GetToolset(linkedProject.
ToolsVersion
);
488
_originalProjectToolsVersion = linkedProject.
ToolsVersion
;
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
104
/// Access to remote <see cref="Project.
ToolsVersion
"/>.
Microsoft.Build.Engine.OM.UnitTests (14)
Definition\Project_Tests.cs (10)
1074
project.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
1103
project.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
1127
project.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
1132
project.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
1152
project.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
1156
project.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
1235
p.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
1265
p.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
1293
p.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
1325
p.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
Definition\ProjectCollection_Tests.cs (1)
1165
Assert.Equal(project.
ToolsVersion
, ObjectModelHelpers.MSBuildDefaultToolsVersion);
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
365
Assert.Equal(real.
ToolsVersion
, view.
ToolsVersion
);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
66
public string ToolsVersion => this.Source.
ToolsVersion
;
Microsoft.Build.Engine.UnitTests (4)
BackEnd\ConfigurationMetadata_Tests.cs (1)
79
Assert.Equal(project.
ToolsVersion
, metadata.ToolsVersion);
Definition\Project_Internal_Tests.cs (3)
58
Assert.Equal("x", project.
ToolsVersion
);
137
Assert.Equal("2.0", project.
ToolsVersion
);
141
Assert.Equal("2.0", project.
ToolsVersion
);
TaskUsageLogger (2)
TaskUsageLogger.cs (2)
116
GatherAndEvaluateDefaultTasksForToolsVersion(p.
ToolsVersion
, p);
122
_toolsVersionsByProjectContextId[e.BuildEventContext.ProjectContextId] = p.
ToolsVersion
;