我是如何解决这个错误的。 [英] How I solve this error.

查看:68
本文介绍了我是如何解决这个错误的。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法加载文件或程序集'AjaxControlToolkit,Version = 4.1.7.1005,Culture = neutral,PublicKeyToken = 28f01b0e84b6d53e'或其依赖项之一。定位的程序集的清单定义与程序集引用不匹配。 (HRESULT异常:0x80131040)



当c-sharp出现此类错误时。

解决方案

好吧,你引用了一个版本,但试图使用另一个版本。那么,如果它不起作用又有什么好处呢?确保你只有一个版本,并通过删除对该程序集的引用并再次添加它来解决这个问题,这可能是最简单的方法。



-SA

Could not load file or assembly 'AjaxControlToolkit, Version=4.1.7.1005, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

When this types of error occur in c-sharp.

解决方案

All right, you referenced one version but trying to use another one. So, what's so wonderful if it does not work? Make sure you have only one version, and solve this problem by removing the reference to this assembly and adding it again, which is probably the easiest method.

—SA


这篇关于我是如何解决这个错误的。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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