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