IVsTrackProjectRetargetingEvents::OnRetargetingAfterChange Method (String^, IVsHierarchy^, String^, String^)

 

Fired after the retargeting of the project has completed.

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

int OnRetargetingAfterChange(
	String^ projRef,
	IVsHierarchy^ pAfterChangeHier,
	String^ fromTargetFramework,
	String^ toTargetFramework
)

Parameters

projRef
Type: System::String^

[in] The unique project reference name.

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

[in] The project hierarchy after the change.

fromTargetFramework
Type: System::String^

[in] The current target framework of the project.

toTargetFramework
Type: System::String^

[in] The new target framework of the project.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: