Deploy project types
Visual Studio SDK installs a new project-type aggregator (ProjectAggregator2.dll) and also a Windows Installer package for redistribution (ProjectAggregator2.msi). You must use the new aggregator for managed-code project types. ProjectAggregator2 works around limitations in the Visual Studio project aggregator that prevents managed-code project types from working correctly. The following steps describe how to change your VSPackage to use the new aggregator.
Remove the NativeHierarchyWrapper project from your solution.
Remove any NativeHierarchyWrapper binaries from your setup.
Add ProjectAggregator2.msi to your setup.