开发者

Can a VS2010 VSPackage project be installed to VS2008?

I am wondering whether the result VSIX artifact of a VSPackage project created and written in Visual Studio 2010 can be deployed to Visual Studio 2008 - provid开发者_Go百科ed, of course, that the package does not use/rely on any .NET 4 assemblies?

Alternatively, what other paths may exist, that allow me to create an installable extension targetting both VS2008 and VS2010 from a VS2010 solution?


VSIX is a new feature for VS 2010, so you can't deploy your package to 2008 with a VSIX. You could, however, build a package that targets both 2008 and 2010 and deploy it with a MSI. (MSI deployment of packages in 2010 is still supported.)

I wrote a blog post explaining how you could set up a project in 2010 that would target 2008 and 2010: http://blogs.msdn.com/b/aaronmar/archive/2009/12/07/targeting-vs-2008-with-the-visual-studio-2010-sdk.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜