UpdateExtensions.SetStartupProjects Method

Definition

Set the startup projects in the solution.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> SetStartupProjects (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> solutions, params string[] projectPaths);
static member SetStartupProjects : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> * string[] -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot>
<Extension()>
Public Function SetStartupProjects (solutions As IAsyncUpdatable(Of ISolutionSnapshot), ParamArray projectPaths As String()) As IAsyncUpdatable(Of ISolutionSnapshot)

Parameters

solutions
IAsyncUpdatable<ISolutionSnapshot>

A collection of solutions.

projectPaths
String[]

Paths of the projects to set as startup projects.

Returns

A remote executable, which will run solution when it is executed.

Applies to