SolutionFile Class

Definition

public ref class SolutionFile sealed
public sealed class SolutionFile
type SolutionFile = class
Public NotInheritable Class SolutionFile
Inheritance
SolutionFile

Remarks

This class contains the functionality to parse a solution file and return a corresponding MSBuild project file containing the projects and dependencies defined in the solution.

Properties

ProjectsByGuid

The collection of projects in this solution, accessible by their guids as a string in "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" form

ProjectsInOrder

All projects in this solution, in the order they appeared in the solution file

SolutionConfigurations

The list of all full solution configurations (configuration + platform) in this solution

Methods

Equals(Object)

Determines whether the specified object is equal to the current 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()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Parse(String)

This method takes a path to a solution file, parses the projects and project dependencies in the solution file, and creates internal data structures representing the projects within the SLN.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to