17 writes to ToolsVersion
Microsoft.Build (2)
Construction\Solution\SolutionProjectGenerator.cs (1)
860
traversalProject.
ToolsVersion
= wrapperProjectToolsVersion;
Instance\ProjectInstance.cs (1)
2281
rootElement.
ToolsVersion
= ToolsVersion;
Microsoft.Build.Engine.OM.UnitTests (10)
Construction\ProjectRootElement_Tests.cs (1)
149
project.
ToolsVersion
= "tv";
Definition\Project_Tests.cs (8)
1085
xml.
ToolsVersion
= string.Empty;
1120
project.Xml.
ToolsVersion
= "2.0";
1129
project.Xml.
ToolsVersion
= "4.0";
1149
project.Xml.
ToolsVersion
= "2.0";
1154
project.Xml.
ToolsVersion
= ObjectModelHelpers.MSBuildDefaultToolsVersion;
1173
project.Xml.
ToolsVersion
= "2.0";
1182
project.Xml.
ToolsVersion
= "4.0";
1215
project.Xml.
ToolsVersion
= "bogus";
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
64
xmlPair.VerifySetter("xmakever", (p) => p.ToolsVersion, (p, v) => p.
ToolsVersion
= v);
Microsoft.Build.Engine.UnitTests (5)
Construction\SolutionProjectGenerator_Tests.cs (1)
305
projectXml.
ToolsVersion
= ObjectModelHelpers.MSBuildDefaultToolsVersion;
Definition\Project_Internal_Tests.cs (4)
134
project.Xml.
ToolsVersion
= "2.0";
139
project.Xml.
ToolsVersion
= "4.0";
185
project.Xml.
ToolsVersion
= "2.0";
190
project.Xml.
ToolsVersion
= ObjectModelHelpers.MSBuildDefaultToolsVersion;
15 references to ToolsVersion
Microsoft.Build (8)
Definition\Project.cs (3)
4291
if (Project.Xml.
ToolsVersion
.Length > 0)
4293
OriginalProjectToolsVersion = Project.Xml.
ToolsVersion
;
4299
Project.Xml.
ToolsVersion
,
Definition\ProjectCollection.cs (2)
1198
toolsVersionFromProject = (xml.
ToolsVersion
.Length > 0) ? xml.
ToolsVersion
: DefaultToolsVersion;
Instance\ProjectInstance.cs (3)
3109
if (xml.
ToolsVersion
.Length > 0)
3111
_originalProjectToolsVersion = xml.
ToolsVersion
;
3117
xml.
ToolsVersion
,
Microsoft.Build.Engine.OM.UnitTests (7)
Construction\ProjectRootElement_Tests.cs (2)
111
Assert.Equal(ObjectModelHelpers.MSBuildDefaultToolsVersion, project.
ToolsVersion
);
150
Assert.Equal("tv", project.
ToolsVersion
);
Definition\Project_Tests.cs (2)
1090
project.Xml.
ToolsVersion
.ShouldBe(string.Empty);
1217
project.Xml.
ToolsVersion
.ShouldBe("bogus");
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
532
Assert.Equal(realXml.
ToolsVersion
, viewXml.
ToolsVersion
);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
64
xmlPair.VerifySetter("xmakever", (p) => p.
ToolsVersion
, (p, v) => p.ToolsVersion = v);