小编Mih*_*rič的帖子

System.IO.FileNotFoundException:无法加载文件或程序集...(.resources)

在我的ASP.NET Web API上,我有一个使用MsgReader从电子邮件消息中解析一些数据的方法.它工作正常,但一段时间后它开始抛出以下异常:

System.IO.FileNotFoundException: Could not load file or assembly 'MsgReader.resources, Version=2.1.3.0, Culture=en-US, PublicKeyToken=47f99f3a9a2648df' or one of its dependencies. The system cannot find the file specified.
File name: 'MsgReader.resources, Version=2.1.3.0, Culture=en-US, PublicKeyToken=47f99f3a9a2648df' ---> System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
   at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
   at System.Reflection.Assembly.LoadFile(String path)
   at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean …
Run Code Online (Sandbox Code Playgroud)

c# asp.net packages asp.net-web-api

5
推荐指数
0
解决办法
1035
查看次数

标签 统计

asp.net ×1

asp.net-web-api ×1

c# ×1

packages ×1