c# – “’无法加载文件或程序集’Elmah’或其依赖项之一.在NuGe
发布时间:2020-12-15 04:02:50 所属栏目:百科 来源:网络整理
导读:我有一个MVC应用程序,我使用 http://nuget.org/安装Elmah for MVC,我能够安装它并连续运行它. 几周后重新打开Visual Studio我收到此错误: Could not load file or assembly 'Elmah' or one of its dependencies. The system cannot find the file specified
我有一个MVC应用程序,我使用
http://nuget.org/安装Elmah for MVC,我能够安装它并连续运行它.
几周后重新打开Visual Studio我收到此错误: Could not load file or assembly 'Elmah' or one of its dependencies. The system cannot find the file specified. Error <httpModules> Line 73: <add name="ErrorLog" type="Elmah.ErrorLogModule,Elmah" /> 我试图在项目中添加一个引用给Elmah.Mvc但没有成功.你能指出我如何解决这个问题吗?谢谢 解决方法
通过NuGet重新安装Elmah.Mvc将是我的建议.如果这没有用,请尝试重新安装elmah.corelibrary NuGet包(是Elmah.Mvc的依赖项).
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容