Could not load file or assembly 'Antlr3.Runtime' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
仅在 IIS 中收到此错误。
在安装了框架 4.5 VS 2012 express 后,我使用 MachineKeyCryptography 遇到了异常。所以我卸载了 4.5 Framework 和 VS 2012,因此发生了这种困惑。
任何帮助解决此问题并使我的应用程序正常工作的帮助表示赞赏。谢谢
最佳答案
我在基于 .NET Framework 3.5 的 Web 窗体应用程序中遇到了同样的问题。删除 垃圾箱和 物镜目录和重建修复了这个问题。
关于.net - 无法加载文件或程序集 'Antlr3.Runtime',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21672288/