我有一个MVC应用程序,我使用
http://nuget.org/安装Elmah for MVC,我能够安装它并连续运行它.
@H_404_2@几周后重新打开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" />@H_404_2@我试图在项目中添加一个引用给Elmah.Mvc但没有成功.你能指出我如何解决这个问题吗?谢谢
解决方法
通过NuGet重新安装Elmah.Mvc将是我的建议.如果这没有用,请尝试重新安装elmah.corelibrary NuGet包(是Elmah.Mvc的依赖项).