33 references to Toolsets
Microsoft.Build (3)
Definition\ToolsetConfigurationReader.cs (3)
86
foreach (ToolsetElement toolset in ConfigurationSection.
Toolsets
)
159
ToolsetElement toolsetElement = ConfigurationSection.
Toolsets
.GetElement(toolsVersion);
220
ToolsetElement toolsetElement = ConfigurationSection.
Toolsets
.GetElement(toolsVersion);
Microsoft.Build.Engine.UnitTests (30)
Definition\ToolsetConfigurationReader_Tests.cs (30)
51
Assert.NotNull(msbuildToolsetSection.
Toolsets
);
52
Assert.Empty(msbuildToolsetSection.
Toolsets
);
79
Assert.Single(msbuildToolsetSection.
Toolsets
);
81
Assert.Equal("2.0", msbuildToolsetSection.
Toolsets
.GetElement(0).toolsVersion);
82
Assert.Single(msbuildToolsetSection.
Toolsets
.GetElement("2.0").PropertyElements);
85
msbuildToolsetSection.
Toolsets
.GetElement("2.0").PropertyElements.GetElement("MSBuildBinPath").Value);
87
Assert.Empty(msbuildToolsetSection.
Toolsets
.GetElement(0).AllProjectImportSearchPaths);
179
Assert.Single(msbuildToolsetSection.
Toolsets
);
181
Assert.Equal("2.0", msbuildToolsetSection.
Toolsets
.GetElement(0).toolsVersion);
182
Assert.Single(msbuildToolsetSection.
Toolsets
.GetElement("2.0").PropertyElements);
185
msbuildToolsetSection.
Toolsets
.GetElement("2.0").PropertyElements.GetElement("MSBuildBinPath").Value);
187
Assert.Empty(msbuildToolsetSection.
Toolsets
.GetElement(0).AllProjectImportSearchPaths);
304
Assert.Single(msbuildToolsetSection.
Toolsets
);
305
Assert.Equal("4.0", msbuildToolsetSection.
Toolsets
.GetElement(0).toolsVersion);
306
Assert.Single(msbuildToolsetSection.
Toolsets
.GetElement("4.0").PropertyElements);
309
msbuildToolsetSection.
Toolsets
.GetElement("4.0").PropertyElements.GetElement("MSBuildBinPath").Value);
448
Assert.Single(msbuildToolsetSection.
Toolsets
);
449
Assert.Equal(2, msbuildToolsetSection.
Toolsets
.GetElement("2.0").PropertyElements.Count);
453
msbuildToolsetSection.
Toolsets
.GetElement("2.0").PropertyElements.GetElement("MSBuildBinPath").Value);
456
msbuildToolsetSection.
Toolsets
.GetElement("2.0").PropertyElements.GetElement("SomeOtherPropertyName").Value);
484
Assert.Single(msbuildToolsetSection.
Toolsets
);
485
Assert.Equal(2, msbuildToolsetSection.
Toolsets
.GetElement("2.0").PropertyElements.Count);
487
msbuildToolsetSection.
Toolsets
.GetElement("2.0").PropertyElements.GetElement("MSBuildBinPath").Value);
489
msbuildToolsetSection.
Toolsets
.GetElement("2.0").PropertyElements.GetElement("SomeOtherPropertyName").Value);
535
Assert.Single(msbuildToolsetSection.
Toolsets
);
537
Assert.Equal("2.0", msbuildToolsetSection.
Toolsets
.GetElement(0).toolsVersion);
538
Assert.Equal(2, msbuildToolsetSection.
Toolsets
.GetElement("2.0").PropertyElements.Count);
541
msbuildToolsetSection.
Toolsets
.GetElement("2.0").PropertyElements.GetElement("MSBuildBinPath").Value);
543
Assert.Equal(3, msbuildToolsetSection.
Toolsets
.GetElement(0).AllProjectImportSearchPaths.Count);
544
var allPaths = msbuildToolsetSection.
Toolsets
.GetElement(0).AllProjectImportSearchPaths;