无法为.NET framework 4.0加载.dll
问题描述:
大家好
我正在使用visual studio创建Windows应用程序。构建x86,Target framework 4.5
并添加引用Foxit.PDF.40.x86.dll。这可以在客户端x86,x64(windows10,windows7)上运行
但是有些客户端无法运行此应用程序。错误
Capture.JPG - Google云端硬盘 [ ^ ]
任何人都可以建议我解决这个错误吗?
非常感谢。
我尝试了什么:
Hello everyone
I'm create the windows application using visual studio. Build x86,Target framework 4.5
and add reference Foxit.PDF.40.x86.dll. This can run on clients x86,x64 (windows10,windows7 as well)
But some clients cannot run this app. error with
Capture.JPG - Google Drive[^]
Can anyone suggest me fix this error?
Thank you very much.
What I have tried:
Build x86,Target framework 4.5,4.0
Install dll by regsvr32 in system32,sysWow64
答
查看错误消息:指定的模块不能找到
系统上尚未安装Foxit PDF Viewer 4.0x86.dll。 64位版本可能有,但不是x86。
最有可能的原因是:您需要一个安装程序来确保所有必需的程序集都安装在代码运行前的目标。
Look at the error message: "The specified module could not be found"
The "Foxit PDF Viewer 4.0x86.dll" has not been installed on that system. It's possible that the 64 bit version has, but not the x86.
Most likely reason: you need an installation program to ensure that all the required assemblies are installed on the target before your code runs.