Freigeben über


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
'Usage
Dim instance As IVsSolutionBuildManager2
Dim returnValue As Integer

returnValue = instance.CalculateProjectDependencies()
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

See Also

Reference

IVsSolutionBuildManager2 Interface

IVsSolutionBuildManager2 Members

Microsoft.VisualStudio.Shell.Interop Namespace