ProjectInSolution Class

Definition

C#
public sealed class ProjectInSolution
Inheritance
ProjectInSolution

Remarks

This class represents a project (or SLN folder) that is read in from a solution file.

Properties

AbsolutePath

Returns the absolute path for this project

Dependencies

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

The guid, in "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" form, of this project's parent project, if any.

ProjectConfigurations

Configurations for this project, keyed off the configuration's full name, e.g. "Debug|x86" They contain only the project configurations from the solution file that fully matched (configuration and platform) against the solution configurations.

ProjectGuid

The unique guid associated with this project, in "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" form

ProjectName

This project's name

ProjectType

This project's type.

RelativePath

The path to this project file, relative to the solution location

Applies to

Proizvod Verzije
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17