簡體   English   中英

VSTO:帶有Office 2010 64的Visual Studio 2005

[英]VSTO: Visual Studio 2005 with Office 2010 64

我當時在用Visual Studio 2005開發Office 2003加載項。但是,在取消安裝Office 2003和Office 2010 x64之后,我的項目停止了工作。

存在一些錯誤:

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

有什么方法可以使我的AddIn運行?

不知道您是否看過此書,但是這里有一些解釋:

Office 2010 32位應該運行VSTO 2005 SE加載項而不進行任何修改,但是Office 2010 64位不會加載VSTO 2005 SE加載項。

需要用於Office Second Edition Runtime的Visual Studio 2005工具的Office解決方案與64位版本的Microsoft Office 2010不兼容。若要在64位版本的Microsoft Office 2010中運行這些解決方案,必須將項目升級到Visual Studio。 2010或針對2007 Microsoft Office system的Visual Studio 2008項目。

更多細節在這里

還可以在Wikipedia上查看VSTO兼容性表,這可能是有用的信息

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM