Click here to Skip to main content
15,067,250 members
Articles / Programming Languages / XML
Article
Posted 29 Dec 2009

Stats

30.3K views
96 downloads
5 bookmarked

How to Migrate VS Package from VS2008 to VS2010 Beta 2

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
29 Dec 2009CPOL1 min read
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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

GoranZoran
Software Developer (Senior) Asseco South Eastern Europe
Serbia Serbia
5 years of experience in software development with many technologies such as Visual Studio Extensibility, ADO.NET Entity Framework, Astoria, LINQ, Reflection, WCF...

Comments and Discussions

 
GeneralAttribute showing as Obsolete Pin
jradxl33-Feb-10 0:08
Memberjradxl33-Feb-10 0:08 
GeneralRe: Attribute showing as Obsolete Pin
GoranZoran3-Feb-10 10:26
MemberGoranZoran3-Feb-10 10:26 
GeneralExtra Step needed Pin
jradxl32-Feb-10 23:48
Memberjradxl32-Feb-10 23:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.