Deploying Project Types
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Deploying 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 arounds limitations in the Visual Studio project aggregator that prevent 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.