My C ++ DLL (called from a C # application) works fine with the Debug version (the main C # application in Debug), but the release version (the C # main application in Release) gives the specified procedure was not found. (Exception from HRESULT: 0x8007007F)] System.DllNotFoundException: Unable to load DLL 'D: \ TestBluRay.dll': the specified procedure cannot be found. (Exception from HRESULT: 0x8007007F) . I checked all the project settings and they seem the same for both debugging and release. Any idea why this fails for the version version?
, .DLL \bin\debug ( ), \bin\release ( ).
,.DLL , .
EDIT: , (DllNotFoundException) path/ . "\ Drivers\Blu_ray.." - , "C:\Windows\System32\Drivers\Blu_ray.." .. - .
, \bin\release\ \drivers\blu_ray, \bin\debug\, \drivers\blu_ray...