Compartilhar via


SolutionFile.GetDefaultConfigurationName Method

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

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

Syntax

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

Return Value

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

.NET Framework Security

See Also

Reference

SolutionFile Class

Microsoft.Build.Construction Namespace