9 references to GetDefaultPlatformName
Microsoft.Build (4)
Construction\Solution\SolutionProjectGenerator.cs (3)
640activeSolutionPlatform = solutionFile.GetDefaultPlatformName(); 2235platformDefaultingPropertyGroup.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)
453Assert.Equal("Mixed Platforms", solution.GetDefaultPlatformName()); // "Default solution platform" 515Assert.Equal("Any CPU", solution.GetDefaultPlatformName()); // "Default solution platform"
Microsoft.Build.Engine.UnitTests (3)
Construction\SolutionFile_OldParser_Tests.cs (3)
1709solution.GetDefaultPlatformName().ShouldBe("Mixed Platforms"); // "Default solution platform" 1769solution.GetDefaultPlatformName().ShouldBe("Any CPU"); // "Default solution platform" 2061solution.GetDefaultPlatformName().ShouldBe(".NET"); // "Default solution platform"