Table of Contents

Class ProjectInfo

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Describes a project entry in a solution and provides access to its MSBuild evaluations.

public sealed class ProjectInfo

Properties

Directory

The containing directory.

public AbsolutePath Directory { get; }

Property Value

AbsolutePath

Name

The project name authored in the solution.

public string Name { get; }

Property Value

string

Path

The absolute filesystem path.

public AbsolutePath Path { get; }

Property Value

AbsolutePath

Project

The default evaluated MSBuild project, loaded once after the first successful access.

public Project Project { get; }

Property Value

Project

SolutionPath

The project's logical path inside the solution.

public string SolutionPath { get; }

Property Value

string

Methods

Load(IReadOnlyDictionary<string, string>)

Returns the evaluated MSBuild project for the supplied global properties.

public Project Load(IReadOnlyDictionary<string, string> globalProperties)

Parameters

globalProperties IReadOnlyDictionary<string, string>

Returns

Project

ToString()

Returns the absolute project file path.

public override string ToString()

Returns

string

Operators

implicit operator string(ProjectInfo)

Returns the absolute project file path.

public static implicit operator string(ProjectInfo project)

Parameters

project ProjectInfo

Returns

string