Event generated whenever Visual Studio upgrades its Toolbox.
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
The Visual Studio IDE generates a event whenever one or more of the following situations occur:
The version number of an existing Toolbox item provider supplied by a VSPackage changes.
The Toolbox item provider version number of a VSPackage is set by the version argument of the ProvideToolboxItemsAttribute object that must be applied to any VSPackage providing Toolbox items.
IVsUIShell uiShell = (IVsUIShell)GetService(typeof(SVsUIShell)); IVsPackage pkg = GetService(typeof(Package)) as IVsPackage; pkg.ResetDefaults((uint)__VSPKGRESETFLAGS. PKGRF_TOOLBOXSETUP);
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.