Delen via


Project.RemoveProjectReference(ProjectReference) Method

Definition

Creates a new instance of this project updated to no longer include the specified project reference.

public:
 Microsoft::CodeAnalysis::Project ^ RemoveProjectReference(Microsoft::CodeAnalysis::ProjectReference ^ projectReference);
public Microsoft.CodeAnalysis.Project RemoveProjectReference (Microsoft.CodeAnalysis.ProjectReference projectReference);
member this.RemoveProjectReference : Microsoft.CodeAnalysis.ProjectReference -> Microsoft.CodeAnalysis.Project
Public Function RemoveProjectReference (projectReference As ProjectReference) As Project

Parameters

projectReference
ProjectReference

Returns

Applies to