Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

How to Migrate VS Package from VS2008 to VS2010 Beta 2

0.00/5 (No votes)
29 Dec 2009 1  
Migrating VS package from 2008 to 2010 Beta 2
I was making a migration of my VS package from VS2008 to VS2010 beta 2. Though the new model of creating and deploying VS extensions is easier, the migration to this fine technology is not so sweet. I had to learn some things the hard way, and will show you what I had to do to make it work.

Introduction

Last few days, I was making a migration of my VS package from VS2008 to VS2010 beta 2. The new model of creating and deploying VS extensions is now easier but the migration to this fine technology is not so sweet. Since this is a cutting edge technology, one can find very few resources on the Internet. One frustrating moment was when I realized that some things have changed even between beta 1 and beta 2 and tutorials for beta 1 are not valid anymore (for example: How to: Migrate VSPackages to Visual Studio 2010).

So, I had to learn some things the hard way, and I will show you what I had to do to make it work.

Migration Steps

Migrate_VS2008/image003.jpg

Now, you can start your package in VS2010:

Migrate_VS2008/image004.jpg

Deployment Changes

VS2010 introduces new concepts of deployment. There is a concept of a VSIX package which simplifies deployment because it doesn’t need PLK or registry entries for registering package. All relevant files are now in .vsix file (vsixmanifest and pkgdef). Detailed information about deployment can be found on MSDN.

Conclusion

Visual Studio 2010 comes with improved and easier extensibility but migration from VS2008 is not yet documented very well, so I hope this article will help developers make smooth migration to this new technology and benefit from it.

History

  • 29th December, 2009: First version

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here