共用方式為


IVsSolutionBuildManager2.CalculateProjectDependencies Method

Definition

Forces dependencies to be recalculated.

public:
 int CalculateProjectDependencies();
public:
 int CalculateProjectDependencies();
int CalculateProjectDependencies();
public int CalculateProjectDependencies ();
abstract member CalculateProjectDependencies : unit -> int
Public Function CalculateProjectDependencies () As Integer

Returns

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.

Applies to