9 references to GetDefaultPlatformName
Microsoft.Build (4)
Construction\Solution\SolutionProjectGenerator.cs (3)
640
activeSolutionPlatform = solutionFile.
GetDefaultPlatformName
();
2235
platformDefaultingPropertyGroup.AddProperty("Platform", EscapingUtilities.Escape(_solutionFile.
GetDefaultPlatformName
()));
2326
_solutionFile.AddSolutionConfiguration("Release", _solutionFile.
GetDefaultPlatformName
());
Graph\GraphBuilder.cs (1)
384
: solutionFile.
GetDefaultPlatformName
();
Microsoft.Build.Engine.OM.UnitTests (2)
Construction\SolutionFile_Tests.cs (2)
453
Assert.Equal("Mixed Platforms", solution.
GetDefaultPlatformName
()); // "Default solution platform"
515
Assert.Equal("Any CPU", solution.
GetDefaultPlatformName
()); // "Default solution platform"
Microsoft.Build.Engine.UnitTests (3)
Construction\SolutionFile_OldParser_Tests.cs (3)
1709
solution.
GetDefaultPlatformName
().ShouldBe("Mixed Platforms"); // "Default solution platform"
1769
solution.
GetDefaultPlatformName
().ShouldBe("Any CPU"); // "Default solution platform"
2061
solution.
GetDefaultPlatformName
().ShouldBe(".NET"); // "Default solution platform"