2012-09-28 83 views
0

我使用Visual Studio 2005开发了一个Office 2003加载项。但是在unistall Office 2003和intall Office 2010 x64之后,我的项目停止工作。VSTO:带有Office 2010的Visual Studio 2005 64

这是目前一些错误:

Error 7 The type or namespace name 'IRibbonControl' could not be found (are you missing a using directive or an assembly reference?) x.cs 83 45 x 
Error 5 The type or namespace name 'IRibbonUI' could not be found (are you missing a using directive or an assembly reference?) x.cs 358 38 x 
Error 3 The type or namespace name 'IRibbonExtensibility' does not exist in the namespace 'Microsoft.Office.Core' (are you missing an assembly reference?) x.cs 45 43 x 

有一些办法让我的外接程序运行?

回答

3

不知道,如果你已经看到了这一点或没有,但这里的一些解释:

Office 2010的32位应该运行VSTO 2005 SE插件没有 修改,但Office 2010的64位将不加载VSTO 2005 SE 加载项。需要在Visual Studio为Office 第二版运行2005和工具

Office解决方案不符合 微软Office 2010的64位版本,兼容运行在微软 的64位版本的这些解决方案的Office 2010,你必须将该项目升级到2010年的Visual Studio 或升级到面向2007年的Microsoft Office系统的2007年的的Visual Studio 2008项目。

更多详细信息here

还检查了在Wikipedia VSTO兼容性表,这可能是有用的信息

+0

嗨woodykiddyı厌倦了你的解决方案。我将我的项目升级到vs2010并再次安装是的我的加载项在64位办公室中工作。但是,如果我在Office 2003中使用相同的设置,则无法使用。我想为Office 2007-2010和2003使用一个设置。这可能吗? – mekar10

+0

@mehmetkarpuz看看这篇文章http://stackoverflow.com/a/3090173/786796 – woodykiddy

相关问题