SolutionFile Class
Parses a solution file and returns an MSBuild project file containing the projects and dependencies defined in the solution.
Assembly: Microsoft.Build (in Microsoft.Build.dll)
| Name | Description | |
|---|---|---|
![]() | ProjectsByGuid | Gets the collection of projects in this solution, accessible by their GUIDs as strings in "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" form |
![]() | ProjectsInOrder | Gets all the projects in this solution, in the order they appeared in the solution file. |
![]() | SolutionConfigurations | Gets all the full solution configurations (configuration + platform) in this solution. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetDefaultConfigurationName() | 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. |
![]() | GetDefaultPlatformName() | 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. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() ![]() | Parse(String^) | Parses the projects and project dependencies in the solution file and creates internal data structures representing the projects within the SLN. |
![]() | ToString() | (Inherited from Object.) |
Introduced in Visual Studio 2015.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


