Sdílet prostřednictvím


ProjectInfo Class

Definition

A class that represents all the arguments necessary to create a new project instance.

public ref class ProjectInfo sealed
[System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(), nq}")]
public sealed class ProjectInfo
[<System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(), nq}")>]
type ProjectInfo = class
Public NotInheritable Class ProjectInfo
Inheritance
ProjectInfo
Attributes

Properties

AdditionalDocuments

The list of non-source documents associated with this project.

AnalyzerConfigDocuments

The list of analyzerconfig documents associated with this project.

AnalyzerReferences

The analyzers initially associated with this project.

AssemblyName

The name of the assembly that this project will create, without file extension.

CompilationOptions

The initial compilation options for the project, or null if the default options should be used.

CompilationOutputInfo

The path to the compiler output file (module or assembly).

Documents

The list of source documents initially associated with the project.

FilePath

The path to the project file or null if there is no project file.

HostObjectType

Type of the host object.

Id

The unique Id of the project.

IsSubmission

True if this is a submission project for interactive sessions.

Language

The language of the project.

MetadataReferences

The metadata references initially defined for the project.

Name

The name of the project. This may differ from the project's filename.

OutputFilePath

The path to the output file (module or assembly).

OutputRefFilePath

The path to the reference assembly output file.

ParseOptions

The initial parse options for the source code documents in this project, or null if the default options should be used.

ProjectReferences

The project references initially defined for the project.

Version

The version of the project.

Methods

Create(ProjectId, VersionStamp, String, String, String, String, String, CompilationOptions, ParseOptions, IEnumerable<DocumentInfo>, IEnumerable<ProjectReference>, IEnumerable<MetadataReference>, IEnumerable<AnalyzerReference>, IEnumerable<DocumentInfo>, Boolean, Type, String)

Create a new instance of a ProjectInfo.

Create(ProjectId, VersionStamp, String, String, String, String, String, CompilationOptions, ParseOptions, IEnumerable<DocumentInfo>, IEnumerable<ProjectReference>, IEnumerable<MetadataReference>, IEnumerable<AnalyzerReference>, IEnumerable<DocumentInfo>, Boolean, Type)

Create a new instance of a ProjectInfo.

WithAdditionalDocuments(IEnumerable<DocumentInfo>)
WithAnalyzerConfigDocuments(IEnumerable<DocumentInfo>)
WithAnalyzerReferences(IEnumerable<AnalyzerReference>)
WithAssemblyName(String)
WithCompilationOptions(CompilationOptions)
WithCompilationOutputInfo(CompilationOutputInfo)
WithDefaultNamespace(String)
WithDocuments(IEnumerable<DocumentInfo>)
WithFilePath(String)
WithId(ProjectId)
WithMetadataReferences(IEnumerable<MetadataReference>)
WithName(String)
WithOutputFilePath(String)
WithOutputRefFilePath(String)
WithParseOptions(ParseOptions)
WithProjectReferences(IEnumerable<ProjectReference>)
WithVersion(VersionStamp)

Applies to