How to deploy and register a VSPackage supporting multiple versions of Visual Studio (2005, 2008, 20
- by Steve Cadwallader
I have an open source VSPackage that I would like to release with support for Visual Studio 2005, Visual Studio 2008, and Visual Studio 2010. I'm trying to figure out how to create the installer and how to perform the package registration with each edition of Visual Studio.
The deployment research I've done indicates my best bet for an installer is a VSIX inside an MSI.
The registration research I've done is a lot less clear. VSPackage registration seems to differ for every edition (VS2005 uses regpkg, VS2008 uses pkgdef, VS2010 uses VSIX).
Can anyone share their experiences and/or point me towards any information about the best approach for targeting multiple versions of Visual Studio? I'm looking for the easiest implementation and preferably keeping it in a single installer if reasonably feasible.
Any help would be greatly appreciated!