Freigeben über


Troubleshooting RegPkg Package Registration

Note

The preferred way to register packages in Visual Studio 2010 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 the Visual Studio Microsoft.VisualStudioShell.9.0.dll assembly. This version cannot register packages that have been built by using the earlier Microsoft.VisualStudio.Shell.dll assembly.

The other, 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 the Visual Studio Microsoft.VisualStudio.Shell.9.0.dll assembly.

See Also

Other Resources

Releasing a Visual Studio Integration Product