这是旧版本的变体
System.DllNotFoundException: Unable to load DLL 'foo.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E).
问题(当然,
foo.dll
是实际DLL的名称)。奇怪的是,我只有在VS(2008)中“运行”时才会出现这个错误。坐在房间里
MyApp.vhost.exe
MyApp.exe
)我没有遇到错误。问题扩展到使用MSTest的单元测试。
DependencyWalker打开时的DLL检查
Foo.dll
没有任何问题。
有什么想法吗?