.net报“System.MissingMethodException: Method not found(找不到方法)”错误的解决方法
2014-07-09 12:57
736 查看
中文版本提示:System.MissingMethodException: 找不到方法:...
英文版本提示:System.MissingMethodException: Method not found:...
导致此异常的原因是引用程集版本冲突,通常可能是因为同一个项目(DLL)被多个项目(DLL)引用,导致新加的方法找不到,但是不会抛编译期异常,而是抛运行期异常。跟踪调试的时候根本无法运行到调用的地方,所以,很容易导致该解决该问题无从下手。
个人觉得这应该是VS的一个BUG,我用的是VS2008,不知道其它版本有没有同样的问题。
解决方法:在项目中查找是否存在多个DLL,让各个项目引用同一个DLL
英文版本提示:System.MissingMethodException: Method not found:...
导致此异常的原因是引用程集版本冲突,通常可能是因为同一个项目(DLL)被多个项目(DLL)引用,导致新加的方法找不到,但是不会抛编译期异常,而是抛运行期异常。跟踪调试的时候根本无法运行到调用的地方,所以,很容易导致该解决该问题无从下手。
个人觉得这应该是VS的一个BUG,我用的是VS2008,不知道其它版本有没有同样的问题。
解决方法:在项目中查找是否存在多个DLL,让各个项目引用同一个DLL
相关文章推荐
- net报“System.MissingMethodException: Method not found(找不到方法)”错误的解决方法
- .net报“System.MissingMethodException: Method not found(找不到方法)”错误的解决方法
- “System.MissingMethodException: 找不到方法” 错误的解决方法
- .net 中使用Excel library 11.0 COM Workbooks.Open 出现错误:System.MissingMethodException: 找不到方法
- C#引用第三方动态连接库dll时出现 System.MissingMethodException: 找不到方法的解决方案
- System.MissingMethodException: 找不到方法:
- C#引用动态连接库dll时出现 System.MissingMethodException: 找不到方法的解决方案
- System.Data.OleDb.OleDbException: 未指定的错误的完美解决方法
- cookies空值情况下引起System.NullReferenceException错误解决方法
- The method contains(CharSequence) from the type String refers to the missing type CharSequence错误解决方法
- Cakephp: [MissingTableException] 错误信息 解决方法
- System.Data.OleDb.OleDbException: 未指定的错误的解决方法
- The method contains(CharSequence) from the type String refers to the missing type CharSequence错误解决方法
- System.MissingMethodException的问题该怎么解决?
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)错误解决方法
- 部署时,出现用户代码未处理 System.Security.Cryptography.CryptographicException 错误解决方法
- System.Data.OleDb.OleDbException: 未指定的错误的完美解决方法
- 连接数据库及出现System.AccessViolationException错误的解决方法
- java.lang.NoClassDefFoundError:/javax/transaction/SystemException错误解决方法
- 关于D7“System.pas not found”错误的解决方法