Partilhar via


Workspace.CheckProjectDoesNotHaveProjectReference Método

Definição

Gera uma exceção se um projeto já tiver uma referência de projeto específica.

protected:
 void CheckProjectDoesNotHaveProjectReference(Microsoft::CodeAnalysis::ProjectId ^ fromProjectId, Microsoft::CodeAnalysis::ProjectReference ^ projectReference);
protected void CheckProjectDoesNotHaveProjectReference (Microsoft.CodeAnalysis.ProjectId fromProjectId, Microsoft.CodeAnalysis.ProjectReference projectReference);
member this.CheckProjectDoesNotHaveProjectReference : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ProjectReference -> unit
Protected Sub CheckProjectDoesNotHaveProjectReference (fromProjectId As ProjectId, projectReference As ProjectReference)

Parâmetros

fromProjectId
ProjectId
projectReference
ProjectReference

Aplica-se a