Delen via


Troubleshooting RegPkg Package Registration

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

Other Resources

Releasing a Visual Studio Integration Product