5 writes to DefaultToolsVersion
Microsoft.Build.Engine.OM.UnitTests (4)
Definition\ProjectCollection_Tests.cs (4)
1123
ProjectCollection.GlobalProjectCollection.
DefaultToolsVersion
= String.Empty;
1135
ProjectCollection.GlobalProjectCollection.
DefaultToolsVersion
= "nonexistent";
1148
collection.
DefaultToolsVersion
= "x";
1244
collection.
DefaultToolsVersion
= "testTools";
Microsoft.Build.Engine.UnitTests (1)
Definition\Project_Internal_Tests.cs (1)
45
collection.
DefaultToolsVersion
= "x";
13 references to DefaultToolsVersion
Microsoft.Build (7)
BackEnd\BuildManager\BuildParameters.cs (1)
250
_defaultToolsVersion = projectCollection.
DefaultToolsVersion
;
Definition\Project.cs (1)
4301
Project.ProjectCollection.
DefaultToolsVersion
,
Definition\ProjectCollection.cs (4)
521
ErrorUtilities.VerifyThrowArgumentLength(value, nameof(
DefaultToolsVersion
));
1089
return Utilities.GenerateToolsVersionToUse(explicitToolsVersion, toolsVersionFromProject, GetToolset,
DefaultToolsVersion
, out _);
1198
toolsVersionFromProject = (xml.ToolsVersion.Length > 0) ? xml.ToolsVersion :
DefaultToolsVersion
;
1208
string effectiveToolsVersion = Utilities.GenerateToolsVersionToUse(toolsVersion, toolsVersionFromProject, GetToolset,
DefaultToolsVersion
, out _);
Definition\ProjectCollectionChangedEventArgs.cs (1)
16
/// The <see cref="ProjectCollection.
DefaultToolsVersion
"/> property changed.
Microsoft.Build.Engine.OM.UnitTests (3)
Definition\ProjectCollection_Tests.cs (3)
1092
Assert.Equal(ObjectModelHelpers.MSBuildDefaultToolsVersion, collection.
DefaultToolsVersion
);
1112
Assert.Equal(ObjectModelHelpers.MSBuildDefaultToolsVersion, collection.
DefaultToolsVersion
);
1150
Assert.Equal("x", collection.
DefaultToolsVersion
);
Microsoft.Build.Engine.UnitTests (3)
Definition\Project_Internal_Tests.cs (1)
47
Assert.Equal("x", collection.
DefaultToolsVersion
);
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (1)
29
toolsVersionToUse = collection.
DefaultToolsVersion
;
Instance\ProjectInstance_Internal_Tests.cs (1)
1033
Toolset template = pc.Toolsets.First(t => String.Equals(t.ToolsVersion, pc.
DefaultToolsVersion
, StringComparison.OrdinalIgnoreCase));