Поделиться через


Workspace.CheckProjectHasProjectReference(ProjectId, ProjectReference) Метод

Определение

Создает исключение, если у проекта нет определенной ссылки на проект.

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)

Параметры

fromProjectId
ProjectId
projectReference
ProjectReference

Применяется к