ProjectInSolution Class
Represents a project (or solution folder) that is read in from a solution file.
Inheritance Hierarchy
System.Object
Microsoft.Build.Construction.ProjectInSolution
Namespace: Microsoft.Build.Construction
Assembly: Microsoft.Build (in Microsoft.Build.dll)
Syntax
'Declaration
Public NotInheritable Class ProjectInSolution
public sealed class ProjectInSolution
public ref class ProjectInSolution sealed
[<Sealed>]
type ProjectInSolution = class end
public final class ProjectInSolution
The ProjectInSolution type exposes the following members.
Properties
Name | Description | |
---|---|---|
AbsolutePath | Gets the absolute path for this project. | |
Dependencies | Gets a list of GUIDs, in "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" form, mapping to projects that this project has a build order dependency on, as defined in the solution file. | |
ParentProjectGuid | Gets the GUID, in "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" form, of this project's parent project, if any. | |
ProjectConfigurations | Gets the configurations for this project, keyed off the configuration's full name, e.g. "Debug|x86". | |
ProjectGuid | The unique GUID associated with this project, in "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" form | |
ProjectName | Gets the project name. | |
ProjectType | Gets the solution project type. | |
RelativePath | Gets the path to this project file, relative to the solution location. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
Introduced in Visual Studio 2015.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.