无法加载文件或程序集“unfreez_wrapper.dll”或其依赖项之一。指定的模块无法找到
ei = new ExtractImages(StartTags,LastTags,Maps, localFilename, UrlsPath);
ei 是一个使用该文件的新类: unfreez_wrapper.dll 我添加了该文件 dll 文件现在从我的硬盘上的不同位置尝试了两次。
完整的异常消息:
System.IO.FileNotFoundException was unhandled
HResult=-2147024770
Message=Could not load file or assembly 'unfreez_wrapper.dll' or one of its dependencies. The specified module could not be found.
Source=WeatherMaps
FileName=unfreez_wrapper.dll
FusionLog=""
StackTrace:
at WeatherMaps.ExtractImages..ctor(List`1 FirstTags, List`1 LastTags, List`1 Maps, String LocalFileDir, String UrlsDir)
at WeatherMaps.Form1..ctor() in d:\C-Sharp\WeatherMaps\WeatherMaps\WeatherMaps\Form1.cs:line 60
at WeatherMaps.Program.Main() in d:\C-Sharp\WeatherMaps\WeatherMaps\WeatherMaps\Program.cs:line 19
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
文件属性:
Aliases: Global
Copy Local: True
Embed Interop: False
其他的我改不了。当我将鼠标放在路径上的文件属性上时,我看到了文件的原始路径。但由于某种原因,它没有将文件复制到当前项目的 Debug 目录。
我在这里想念什么?