Workspace.CheckProjectDoesNotHaveTransitiveProjectReference 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果專案有另一個專案的可轉移參考,則會擲回例外狀況。
protected:
void CheckProjectDoesNotHaveTransitiveProjectReference(Microsoft::CodeAnalysis::ProjectId ^ fromProjectId, Microsoft::CodeAnalysis::ProjectId ^ toProjectId);
protected void CheckProjectDoesNotHaveTransitiveProjectReference (Microsoft.CodeAnalysis.ProjectId fromProjectId, Microsoft.CodeAnalysis.ProjectId toProjectId);
member this.CheckProjectDoesNotHaveTransitiveProjectReference : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ProjectId -> unit
Protected Sub CheckProjectDoesNotHaveTransitiveProjectReference (fromProjectId As ProjectId, toProjectId As ProjectId)
參數
- fromProjectId
- ProjectId
- toProjectId
- ProjectId