Share via


SolutionFile.GetDefaultPlatformName Method

Gets the default platform name for this solution. Usually it's Mixed Platforms, unless it's not present, in which case it's the first platform name we find.

Namespace:  Microsoft.Build.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public Function GetDefaultPlatformName As String
public string GetDefaultPlatformName()
public:
String^ GetDefaultPlatformName()
member GetDefaultPlatformName : unit -> string
public function GetDefaultPlatformName() : String

Return Value

Type: System.String
The default platform name for this solution.

.NET Framework Security

See Also

Reference

SolutionFile Class

Microsoft.Build.Construction Namespace