构建应用程序时装配误差 [英] Assembly error when building application

查看:157
本文介绍了构建应用程序时装配误差的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天,工作,我每天做,当我试图建立我的项目,我得到这个错误:

I was working today as I do everyday, when I tried to build my project and I got this error:

的遇到多个版本
  装配有GUID
  00020430-0000-0000-C000-000000000046。
  尝试pre-导入其中之一
  组件。

Encountered multiple versions of the assembly with GUID '00020430-0000-0000-c000-000000000046'. Try pre-importing one of these assemblies.

报告说,问题是文件TLBIMP这是在我的应用程序的根目录中。唯一的问题是,我没有这样的文件在我的项目,并尽可能我记得我从未有过。

It says the problem is in the file TlbImp that's in the root directory of my application. The only problem is that I don't have such file in my project and as far as I remember never had.

我用Visual Studio 2010的Web应用程序的工作(不知道这些信息帮助,但好​​,等等)。

I am working with a Web Application with Visual Studio 2010 (not sure if this information helps but well, whatever).

推荐答案

有一个<一个href=\"http://connect.microsoft.com/VisualStudio/feedback/details/565978/tlbimp-encountered-multiple-versions-of-the-assembly-with-guid-000204ef-0000-0000-c000-000000000046\"相对=nofollow>微软连接该错误填写

据说,有一个COM组件的引用的一个问题。

It said that there a problem with a reference to an COM component.

这是固定的,应在未来的Visual Studio版本中提供。结果
  (注:这并没有使之成为SP1)

This was fixed and should be available in a future release of Visual Studio.
(Note: This did not make it into SP1.)

TLBIMP是类型库导入。 Visual Studio中使用它来生成你添加COM库的引用的互操作程序集。

Tlbimp is the Type Library Importer. Visual Studio use it to generate the interop assembly of references to COM libraries you added.

这篇关于构建应用程序时装配误差的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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