Click or drag to resize

WorkspaceApplyProjectReferenceAdded Method



This method is called during TryApplyChanges(Solution) to add a project reference to a project. Override this method to implement the capability of adding project references.

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 virtual void ApplyProjectReferenceAdded(
	ProjectId projectId,
	ProjectReference projectReference
)

Parameters

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