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 ProjectInfoProperties
Directory
The containing directory.
public AbsolutePath Directory { get; }Property Value
Name
The project name authored in the solution.
public string Name { get; }Property Value
Path
The absolute filesystem path.
public AbsolutePath Path { get; }Property Value
Project
The default evaluated MSBuild project, loaded once after the first successful access.
public Project Project { get; }Property Value
SolutionPath
The project's logical path inside the solution.
public string SolutionPath { get; }Property Value
Methods
Load(IReadOnlyDictionary<string, string>)
Returns the evaluated MSBuild project for the supplied global properties.
public Project Load(IReadOnlyDictionary<string, string> globalProperties)Parameters
globalPropertiesIReadOnlyDictionary<string, string>
Returns
ToString()
Returns the absolute project file path.
public override string ToString()Returns
Operators
implicit operator string(ProjectInfo)
Returns the absolute project file path.
public static implicit operator string(ProjectInfo project)Parameters
projectProjectInfo