是否可以从Visual Studio 2010创建Office 2003 VSTO加载项? [英] Is it possible to create an Office 2003 VSTO add-in from Visual Studio 2010?

查看:71
本文介绍了是否可以从Visual Studio 2010创建Office 2003 VSTO加载项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经有适用于Word 2003和Excel 2003的VS 2008 VSTO加载项.我们目前无法升级Office版本.

We have existing VS 2008 VSTO add-ins for Word 2003 and Excel 2003. We are unable to upgrade the Office version at this time.

我们刚刚尝试将解决方案升级到VS 2010,并且可以很好地转换和编译,但是在构建和运行加载项时,我们会收到一条消息,提示未安装所需的Office版本.

We have just tried to upgrade our solution to VS 2010 and it converts and compiles fine, but when building and running the add-in we receive a message saying that the required version of Office is not installed.

是否有任何方法可以解决此问题(无需升级到Office 2007或2010),以便我们可以使用VS 2010构建此加载项?

Is there any way of getting around this issue (without upgrading to Office 2007 or 2010) so that we can use VS 2010 to build this add-in?

推荐答案

否,很遗憾,这是不可能的. VSTO 2010不会编译为Office 2003设计的解决方案.它旨在与2007/2010一起使用.

No, unfortunately it's not possible. VSTO 2010 will not compile solutions designed for Office 2003. It is designed to work with with 2007/2010.

要为Office 2003创建解决方案,您将需要VS2003上的VSTO 2005或VS2008上的VSTO 2005 SE/VSTO 2008(对于后者,您也可以为Office 2007开发).

To create solutions for Office 2003 you'll need VSTO 2005 on VS2003 or VSTO 2005 SE / VSTO 2008 on VS2008 (in the case of the later, you can also develop for Office 2007).

这篇关于是否可以从Visual Studio 2010创建Office 2003 VSTO加载项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆