Partager via


Troubleshooting RegPkg Package Registration

Note

This article applies to Visual Studio 2015. 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.

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.

See Also

Releasing a Product