IVsTrackProjectRetargeting2.BatchRetargetProject Method

Definition

Performs a batch retargeting of the specified project.

public:
 int BatchRetargetProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHier, Platform::String ^ newTargetFramework, bool unloadProjectIfErrorOrCancel);

Parameters

pHier
IVsHierarchy

The project hierarchy.

newTargetFramework
String

The new target framework.

unloadProjectIfErrorOrCancel
Boolean

true to unload the project if there is an error, otherwise false.

Returns

The HRESULT.

Implements

Applies to