IVsTrackProjectRetargeting2::OnSetTargetFramework Method (IVsHierarchy^, String^, String^, IVsSetTargetFrameworkWorkerCallback^, Boolean)
Visual Studio 2015
Occurs when the target framework is sest.
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
int OnSetTargetFramework( IVsHierarchy^ pHier, String^ currentTargetFramework, String^ newTargetFramework, IVsSetTargetFrameworkWorkerCallback^ pWorkerCallback, bool ReloadProject )
Parameters
- pHier
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
The project hierarchy.
- currentTargetFramework
-
Type:
System::String^
The current target framework.
- newTargetFramework
-
Type:
System::String^
The new target framework.
- pWorkerCallback
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsSetTargetFrameworkWorkerCallback^
The callback.
- ReloadProject
-
Type:
System::Boolean
true to reload the project after retargeting, otherwise false.
Show: