【发布时间】:2020-08-13 04:14:01
【问题描述】:
在运行程序时,我似乎缺少一个库,当我启动项目的输出时,我在启动时遇到异常。
A first chance exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll
An unhandled exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll
Additional information: A procedure imported by 'my assembly, Version=xx.1.1.0, Culture=neutral, PublicKeyToken=7292581204d9e04a' could not be loaded.
'ScriptX.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', No symbols loaded.
我的问题是:如何确定缺少哪个库,因为此时我看不到传递给的值:
mscorlib.dll!System.AppDomain.ExecuteAssembly(string assemblyFile, System.Security.Policy.Evidence assemblySecurity, string[] args) + 0x3a bytes
【问题讨论】:
-
德语翻译为“Eine von {myassembly} importierte Prozedur konnte nicht geladen werden.”,以防有人在谷歌上搜索(就像我一样)。跨度>
标签: c# debugging assemblies