本文介绍了“FileLoadException未处理”在nhibernate的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我正在引用不同的项目,其中代码用n-hibernate编写,我使用引用文件作为 1. Antlr3.Runtime.dll 2.Iesi。 Collections.dll 3. log4net.dll 4. Castle.Core.dll 5. Castle.DynamicProxy2.dll 6. NHibernate.dll 7. NHibernate.ByteCode.Castle.dll 8. NHibernate.Validator.dll 9 .nunit.framework.dll 我收到FileLoadException未处理错误。 详细信息是: 无法加载文件或程序集''NHibernate,Version = 2.1.2.4000,Culture = neutral,PublicKeyToken = aa95f207798dfdb4''或其依赖项之一。找到的程序集的清单定义与程序集引用不匹配。(HRESULT的异常:0x80131040) 请有人帮我解决这个问题。I am referencing different projects,where code written in n-hibernate and i use the references files as1. Antlr3.Runtime.dll2. Iesi.Collections.dll3. log4net.dll4. Castle.Core.dll5. Castle.DynamicProxy2.dll6. NHibernate.dll7. NHibernate.ByteCode.Castle.dll8. NHibernate.Validator.dll9. nunit.framework.dllI got "FileLoadException was unhandled" Error.details is:"Could not load file or assembly ''NHibernate, Version=2.1.2.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4'' or one of its dependencies. The located assembly''s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"please anyone help me about this.推荐答案 这篇关于“FileLoadException未处理”在nhibernate的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!