Does Visual Studio 2010 have backward compatibility with visual studio 2008's addins?

安稳与你 提交于 2019-12-06 04:42:17

There are three levels of extensibility in Visual Studio :

  1. Macros
  2. Add-ins
  3. VS Packages

I can confirm that VS2008 Add-ins work perfectly well in VS2010 beta2. You just have to edit the .AddIn file and replace "9.0" by "10.0".

I don't know about VS Packages though.

Unless the direction has changed from the first CTP released last year, the old method of plugging in still works. We should have a new beta soon (I am not sure when soon is, but it has been five months since the last one).

MEF and using WPF as the front end does not mean the old way of plugging in tools will no longer work.

I don't think any final word has been said on this, but based on the fact that VS2010 seems to be a major rewrite (all the code editor stuff is WPF-based), the fact that MEF is being introduced as its extensibility model, and based on experience with earlier VS upgrades, I would highly doubt that all your plugins will just keep working..... some might - but a lot of them will require an upgrade, I'm afraid.

Marc

They didn't rewrite everything in VS. Only the UI (moved to WPF).

Current plugins CAN load, but they have to know about the new registry keys. We are testing this right now for our database engine. There are some new interfaces and ways to get into the little UI for Visual Studio Extensions (think iPhone store type concept). But they are not required right now (Jun 2009).

That could change of course, but I think it is in MS's best interest to make sure as many older plugins as possible load and run.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!