Exception thrown:'System.DllNotFoundException

久未见 提交于 2019-12-11 10:14:15

问题


I have this project running on Visual Stuio 2008 with out issue. However when i want to use same DLL in another project build with Visual Studio 2015 it provides Unable to load DLL error.

Has anyone experienced this problem?


回答1:


Make sure that the DLL is in the same folder as the EXE that you run. If that doesn't work, try copying the DLL to a commonly-searched folder like C:\Windows\System32 just to see if that helps.



来源:https://stackoverflow.com/questions/35561602/exception-thrownsystem-dllnotfoundexception

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!