IVsTrackProjectRetargeting2::BatchRetargetProject Method (IVsHierarchy^, String^, Boolean)

 

Performs a batch retargeting of the specified project.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

int BatchRetargetProject(
	IVsHierarchy^ pHier,
	String^ newTargetFramework,
	bool unloadProjectIfErrorOrCancel
)

Parameters

pHier
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

The project hierarchy.

newTargetFramework
Type: System::String^

The new target framework.

unloadProjectIfErrorOrCancel
Type: System::Boolean

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

Return Value

Type: System::Int32

The HRESULT.

Return to top
Show: