原因"无法解析依赖于装配"错误 [英] Reason for "Cannot resolve dependency to assembly" error

查看:526
本文介绍了原因"无法解析依赖于装配"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当将显示以下信息?

错误1未知的生成错误,无法解析依赖于程序集Infragistics2 .Win.v10.3,版本= 10.3.20103.2015,文化=中性公钥= 7dd5c3163f2cd0cb',因为它没有被预装。当使用ReflectionOnly的API,依赖程序必须是预加载或装载在通过ReflectionOnlyAssemblyResolve事件需求。

我已经添加了一些DLL文件到现有的工作项目。我知道这很难针点的原因没有代码基础上的细节,但我想知道这样的错误信息出现在一般的原因是什么?

I have added few DLLs to an existing working project. I know it's difficult to pin point the reason without the details on the code-base, but what I would like to know the general cause for such error messages to appear?

注意: 刚刚创建了一个新的WPF项目,并添加新的DLL的一群。问题是目前有也。因此,极有可能,这个问题是由于组织和DLL文件的内容。

推荐答案

正确版本的Infragistics的DLL缺少,添加它解决了问题。

Proper version of Infragistics DLL was missing and adding it resolved the issue.

注意:这个问题太本地化,因此该解决方案是只在本地系统中有用

Note: The problem is too localized and hence this solution is useful at local system only.

这篇关于原因"无法解析依赖于装配"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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