Troubleshooting RegPkg Package Registration

 

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 Troubleshooting RegPkg Package Registration.

System_CAPS_ICON_note.jpg 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.

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:

  1. Microsoft.VisualStudioShell.9.0.dll

  2. Microsoft.VisualStudioShell.10.0.dll

  3. 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.

Releasing a Product

Show: