IVsSolutionBuildManager2.CalculateProjectDependencies Method
Forces dependencies to be recalculated.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function CalculateProjectDependencies As Integer
int CalculateProjectDependencies()
int CalculateProjectDependencies()
abstract CalculateProjectDependencies : unit -> int
function CalculateProjectDependencies() : int
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Call this method to force project dependencies to be recalculated. This method should be called prior to calling GetProjectDependencies if you are unsure if the dependencies are up to date at the point of the call.
Also, call this method if you have changed the project dependencies provided by your project's IVsDependencyProvider.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.