Partilhar via


Workspace.CheckProjectHasProjectReference(ProjectId, ProjectReference) Método

Definição

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

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

Parâmetros

fromProjectId
ProjectId
projectReference
ProjectReference

Aplica-se a