Click or drag to resize

WorkspaceCheckProjectDoesNotHaveProjectReference Method



Throws an exception if a project already has a specific project reference.

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
protected void CheckProjectDoesNotHaveProjectReference(
	ProjectId fromProjectId,
	ProjectReference projectReference
)

Parameters

fromProjectId
Type: Microsoft.CodeAnalysisProjectId
projectReference
Type: Microsoft.CodeAnalysisProjectReference
See Also