Developing Visual Studio addins for multiple versions of Visual Studio

本秂侑毒 提交于 2019-12-04 07:05:22

It really depends on what is your extension going to do.

VS2008 does not support extensions (.vsix) and you will need to write VSPackage deployed as msi for it. You also won't have access to many new features introduced in VS2010 (easier editor integration and access to vs services via MEF), but basic stuff such as manipulating solution/project/files should be fine and work on all versions (e.g. using DTE should be ok).

As far as I remember for VS2008 you will also need to obtain a PLK, which is no longer required for 2010 and 2012.

I haven't tried developing 2008 package in VS2012, but you definitely can develop 2010 extension in 2012.

Also remember that VS2008 is .Net 3.5, so your code should use .net 3.5 and version of c# which it supports to be portable.

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