[Resolve exceptions] unhandled exception "Unable to load DLL" lib / xxx.dll ": The specified module could not be found."

1. Abnormal description: 

After being given the run:

System.DllNotFoundException: "Unable to load DLL" lib / xxx.dll ": The specified module could not be found (Exception from HRESULT: 0x8007007E).."

In the case of a correct path to write checks

 

2. The cause of the problem:

Failed to copy to the bin directory, not copied to the output directory that is running, so you can not find

 

3. Solution:

 Right Properties || Select> View> Properties window; to always copy; 

Guess you like

Origin www.cnblogs.com/xm1998/p/12179176.html