缺少 Microsoft.Office.Core 参考 [英] Microsoft.Office.Core Reference Missing

查看:36
本文介绍了缺少 Microsoft.Office.Core 参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 codeproject 中提供的示例,我正在努力找出在哪里可以找到对库 Microsoft.Office.Core.

Using the example provided in codeproject I am struggling to work out where I can find the reference to the library Microsoft.Office.Core.

我收到错误找不到引用的组件‘Microsoft.Office.Core’."

I am getting the error "The referenced component 'Microsoft.Office.Core' could not be found."

我在这个系统上只安装了 Office 2007 企业版和 Outlook 2003.这可能是造成这种情况的原因吗?否则我应该引用哪个特定的 dll?

I only have office 2007 enterprise edition and outlook 2003 installed on this system. Could this be the cause of this? Otherwise which specific dll am I supposed to be referencing?

推荐答案

您可以在添加引用窗口的 COM components 选项卡中添加对 Microsoft.Office.Core 的引用通过添加对 Microsoft Office 12.0 Object Library 的引用.屏幕截图将显示您需要的组件.

You can add reference of Microsoft.Office.Core from COM components tab in the add reference window by adding reference of Microsoft Office 12.0 Object Library. The screen shot will shows what component you need.

这篇关于缺少 Microsoft.Office.Core 参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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