安装了多个版本office的VSTO项目 [英] VSTO project with multiple versions of office installed

查看:38
本文介绍了安装了多个版本office的VSTO项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前安装了 office 2010,并且正在尝试帮助仍在使用 2007 和 VSTO 解决方案的同事.这变得一团糟,因为我的 Visual Studio 副本颠簸了项目文件,将它们更新为指向 O2010 dll.如果我要在 2010 旁边安装 office 2007,我是否能够在没有升级向导破坏所有内容的情况下打开解决方案,或者是我唯一的选择很重要 解决方案的架构变化或恢复到 O2007,直到我的雇主将 O2010 设为新标准.

I currently have office 2010 installed, and am trying to assist a coworker who's still using 2007 with VSTO solution. This is turning into a mess since my copy of visual studio thrashes the project files updating them to point to the O2010 dlls. If I were to install office 2007 beside 2010 would I be able to open the solution without the upgrade wizard mangling everything, or are my only options making significant architectural changes to the solution or reverting to O2007 until my employer makes O2010 the new standard.

推荐答案

您无需安装 Office 2007 即可创建 Office 2007 加载项.我认为这里的问题是您缺少正确的 VSTO 组件.

You shouldn't need to install Office 2007 to create Office 2007 add-ins. I think the problem here is that you're missing the proper VSTO components.

确保您已安装以下内容:

Make sure you've installed the following:

如果其中任何一个已经安装,那么我建议修复它们的安装.

If any of these are already installed then I recommend repairing their installations.

这篇关于安装了多个版本office的VSTO项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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