SolutionFile.Parse Method
Parses the projects and project dependencies in the solution file and creates internal data structures representing the projects within the SLN.
Namespace: Microsoft.Build.Construction
Assembly: Microsoft.Build (in Microsoft.Build.dll)
Syntax
'Declaration
Public Shared Function Parse ( _
solutionFile As String _
) As SolutionFile
public static SolutionFile Parse(
string solutionFile
)
public:
static SolutionFile^ Parse(
String^ solutionFile
)
static member Parse :
solutionFile:string -> SolutionFile
public static function Parse(
solutionFile : String
) : SolutionFile
Parameters
solutionFile
Type: System.StringThe solution file.
Return Value
Type: Microsoft.Build.Construction.SolutionFile
The object that represents the solution file.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.