27 references to ToolsVersion
Microsoft.Build (14)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
1053
return data.ProjectInstance.Toolset.
ToolsVersion
;
Definition\Project.cs (1)
2390
public override string ToolsVersion => _data.Toolset.
ToolsVersion
;
Definition\ProjectCollection.cs (3)
455
/// This is not the <see cref="Toolset.
ToolsVersion
"/>.
1016
_toolsets[toolset.
ToolsVersion
] = toolset;
1057
changed |= RemoveToolsetInternal(toolset.
ToolsVersion
);
Definition\Toolset.cs (2)
482
if (String.Equals(
ToolsVersion
, "4.0", StringComparison.OrdinalIgnoreCase) && Dev10IsInstalled)
905
reservedProperties.Add(ProjectPropertyInstance.Create(ReservedPropertyNames.toolsVersion,
ToolsVersion
, mayBeReserved: true));
Definition\ToolsetReader.cs (1)
427
toolsets[toolset.
ToolsVersion
] = toolset;
Evaluation\Evaluator.cs (2)
810
string 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);
1130
SetBuiltInProperty(ReservedPropertyNames.toolsVersion, _data.Toolset.
ToolsVersion
);
Evaluation\ToolsetProvider.cs (1)
42
_toolsets[toolset.
ToolsVersion
] = toolset;
Instance\ProjectInstance.cs (2)
1098
get { return Toolset.
ToolsVersion
; }
1527
get { return _explicitToolsVersionSpecified ? Toolset.
ToolsVersion
: null; }
Utilities\Utilities.cs (1)
318
toolsVersionList += "\"" + toolset.
ToolsVersion
+ "\", ";
Microsoft.Build.Engine.OM.UnitTests (1)
Construction\ProjectRootElement_Tests.cs (1)
528
string 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)
117
Assert.Equal(t.
ToolsVersion
, t2.
ToolsVersion
);
Instance\ProjectInstance_Internal_Tests.cs (7)
282
p.Toolset.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
325
p.Toolset.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
359
p.Toolset.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
387
p.Toolset.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
428
p.Toolset.
ToolsVersion
.ShouldBe(ObjectModelHelpers.MSBuildDefaultToolsVersion);
1031
if (!pc.Toolsets.Any(t => String.Equals(t.
ToolsVersion
, toolsVersion, StringComparison.OrdinalIgnoreCase)))
1033
Toolset template = pc.Toolsets.First(t => String.Equals(t.
ToolsVersion
, pc.DefaultToolsVersion, StringComparison.OrdinalIgnoreCase));
TestComparers\TaskRegistryComparers.cs (2)
126
Assert.Equal(x.
ToolsVersion
, y.
ToolsVersion
);
MSBuild (1)
XMake.cs (1)
4535
toolsVersionList += $"\"{toolset.
ToolsVersion
}\", ";