IProjectMetadata Properties
InterfaceProperties7 members
Represents metadata about a project resource.
Gets the resolved environment variables that affected an externally produced build.
public virtual IReadOnlyDictionary<string, string> BuildEnvironment { get; }Remarks
IDE launchers use these values when evaluating build properties such as
TargetPath . These values are not a secret transport and can appear in build diagnostics and IDE launch metadata. Gets the project output identity produced by an externally coordinated build.
public virtual ProjectBuildTarget? BuildTarget { get; }Remarks
Debugger clients use this value to verify that a running process matches the exact output produced by the coordinated build without re-evaluating the project with different build inputs.
Gets the working directory used by an externally produced build.
public virtual string? BuildWorkingDirectory { get; }Remarks
IDE launchers use this directory to select the same .NET SDK and repository configuration as the external build.
Gets a value indicating whether the project is a file-based app (a .cs file) rather than a full project (.csproj).
public virtual bool IsFileBasedApp { get; } Gets the launch settings associated with the project.
public virtual LaunchSettings? LaunchSettings { get; } Gets the fully-qualified path to the project or file-based app file.
public abstract string ProjectPath { get; } Gets a value indicating whether building the project before running it should be suppressed.
public virtual bool SuppressBuild { get; }