Partilhar via


Solution.WithProjectCompilationOptions(ProjectId, CompilationOptions) Método

Definição

Crie uma nova instância de solução com o projeto especificado atualizado para ter as opções de compilação especificadas.

public:
 Microsoft::CodeAnalysis::Solution ^ WithProjectCompilationOptions(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::CompilationOptions ^ options);
public Microsoft.CodeAnalysis.Solution WithProjectCompilationOptions (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.CompilationOptions options);
member this.WithProjectCompilationOptions : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.CompilationOptions -> Microsoft.CodeAnalysis.Solution
Public Function WithProjectCompilationOptions (projectId As ProjectId, options As CompilationOptions) As Solution

Parâmetros

projectId
ProjectId

Retornos

Aplica-se a