27 references to ToolsVersion
Microsoft.Build (14)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
1053return data.ProjectInstance.Toolset.ToolsVersion;
Definition\Project.cs (1)
2390public override string ToolsVersion => _data.Toolset.ToolsVersion;
Definition\ProjectCollection.cs (3)
455/// This is not the <see cref="Toolset.ToolsVersion"/>. 1016_toolsets[toolset.ToolsVersion] = toolset; 1057changed |= RemoveToolsetInternal(toolset.ToolsVersion);
Definition\Toolset.cs (2)
482if (String.Equals(ToolsVersion, "4.0", StringComparison.OrdinalIgnoreCase) && Dev10IsInstalled) 905reservedProperties.Add(ProjectPropertyInstance.Create(ReservedPropertyNames.toolsVersion, ToolsVersion, mayBeReserved: true));
Definition\ToolsetReader.cs (1)
427toolsets[toolset.ToolsVersion] = toolset;
Evaluation\Evaluator.cs (2)
810string output = String.Format(CultureInfo.CurrentUICulture, "###: MSBUILD: Evaluating or reevaluating project {0} with {1} global properties and {2} tools version, child count {3}, CurrentSolutionConfigurationContents hash {4} other properties:\n{5}", _projectRootElement.FullPath, globalPropertiesCount, _data.Toolset.ToolsVersion, _projectRootElement.Count, hash, propertyDump); 1130SetBuiltInProperty(ReservedPropertyNames.toolsVersion, _data.Toolset.ToolsVersion);
Evaluation\ToolsetProvider.cs (1)
42_toolsets[toolset.ToolsVersion] = toolset;
Instance\ProjectInstance.cs (2)
1098get { return Toolset.ToolsVersion; } 1527get { return _explicitToolsVersionSpecified ? Toolset.ToolsVersion : null; }
Utilities\Utilities.cs (1)
318toolsVersionList += "\"" + toolset.ToolsVersion + "\", ";
Microsoft.Build.Engine.OM.UnitTests (1)
Construction\ProjectRootElement_Tests.cs (1)
528string toolsPath = projectCollection.Toolsets.Where(toolset => (string.Equals(toolset.ToolsVersion, ObjectModelHelpers.MSBuildDefaultToolsVersion, StringComparison.OrdinalIgnoreCase))).First().ToolsPath;
Microsoft.Build.Engine.UnitTests (11)
Definition\Toolset_Tests.cs (2)
117Assert.Equal(t.ToolsVersion, t2.ToolsVersion);
Instance\ProjectInstance_Internal_Tests.cs (7)
282p.Toolset.ToolsVersion.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion); 325p.Toolset.ToolsVersion.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion); 359p.Toolset.ToolsVersion.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion); 387p.Toolset.ToolsVersion.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion); 428p.Toolset.ToolsVersion.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion); 1031if (!pc.Toolsets.Any(t => String.Equals(t.ToolsVersion, toolsVersion, StringComparison.OrdinalIgnoreCase))) 1033Toolset template = pc.Toolsets.First(t => String.Equals(t.ToolsVersion, pc.DefaultToolsVersion, StringComparison.OrdinalIgnoreCase));
TestComparers\TaskRegistryComparers.cs (2)
126Assert.Equal(x.ToolsVersion, y.ToolsVersion);
MSBuild (1)
XMake.cs (1)
4535toolsVersionList += $"\"{toolset.ToolsVersion}\", ";