UpdateExtensions.AddSharedProjectReferences Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.