Troubleshooting RegPkg Package Registration
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
Note
The preferred way to register packages in Visual Studio is by using .pkgdef files. This allows for extension deployment without having to access the system registry. Pkgdef files are created by using the CreatePkgDef Utility.
To register a package by using RegPkg in Visual Studio, you must use the version of RegPkg that is appropriate for your package.
RegPkg Versions Related to Package Versions
There are two versions of RegPkg. One version is included in Visual Studio. Use this version to register packages that have been built by using one of the following assemblies:
Microsoft.VisualStudioShell.9.0.dll
Microsoft.VisualStudioShell.10.0.dll
Microsoft.VisualStudioShell.11.0.dll
It cannot register packages that have been built by using the earlier Microsoft.VisualStudio.Shell.dll assembly.
The earlier version of RegPkg can register packages that have been built by using the Microsoft.VisualStudio.Shell.dll assembly. However, it cannot register packages built by using later versions of that assembly.