UpdateExtensions.ReloadProject 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.
Reloads a project in the solution.
public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> ReloadProject (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> solutions, string projectPath);
static member ReloadProject : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> * string -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot>
<Extension()>
Public Function ReloadProject (solutions As IAsyncUpdatable(Of ISolutionSnapshot), projectPath As String) As IAsyncUpdatable(Of ISolutionSnapshot)
Parameters
- solutions
- IAsyncUpdatable<ISolutionSnapshot>
A query to retrieve solutions.
- projectPath
- String
The path of the project to be reloaded. The path can be absolute or relative to the solution file.
Returns
Solution updated.