警告:找不到引用的组件"Microsoft.Office.Core" [英] Warning: The referenced component 'Microsoft.Office.Core' could not be found

查看:658
本文介绍了警告:找不到引用的组件"Microsoft.Office.Core"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在构建我的项目之一时,我收到以下警告:

When building one of my projects, I'm getting the following warnings:

Warning 3   Cannot find wrapper assembly for type library "Microsoft.Office.Core".
Warning 4   The referenced component 'Microsoft.Office.Core' could not be found.    

奇怪的是,构建失败而没有错误.上面的警告似乎是问题所在.在我从Windows Update安装了一些Office 2007更新之后,这种情况开始发生.在此之前,一切正常.

Strangely, the build fails with no errors. The warnings above seem to be the problem. This started happening after I installed some Office 2007 updates from Windows Update. Before that it was building everything fine.

有人遇到过同样的问题吗?关于如何在不修改项目的情况下解决此问题的任何想法?

Has anyone experienced the same issue? Any ideas on how to solve this problem without modifying the project?

推荐答案

您的参考文献很可能已更新为新版本,因此无法找到当前版本.

most likely one of your reference was updated to new version, so the current version can not be found.

点击"project **** Properties \ reference"并删除一个找不到的行.

Click "project****Properties\reference" and remove the one can not be found is ok.

这篇关于警告:找不到引用的组件"Microsoft.Office.Core"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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