Compartir a través de


UpdateExtensions.AddSharedProjectReferences Method

Definition

Adds references to a shared projects in the solution.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> AddSharedProjectReferences (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> projects, System.Collections.Generic.IEnumerable<string> referencedProjectPaths);
static member AddSharedProjectReferences : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> * seq<string> -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot>
<Extension()>
Public Function AddSharedProjectReferences (projects As IAsyncUpdatable(Of IProjectSnapshot), referencedProjectPaths As IEnumerable(Of String)) As IAsyncUpdatable(Of IProjectSnapshot)

Parameters

projects
IAsyncUpdatable<IProjectSnapshot>

A set of projects where this change should apply to.

referencedProjectPaths
IEnumerable<String>

The paths of a shared project to be referenced.

Returns

A set of projects updated.

Applies to