G
Guest
I'm having a very odd problem. I have a basic C# form app that pInvokes into
a C++ dll. When I build my C++ dll and C# app in Release mode, the C# app can
load the dll and call into it just fine.
However if I build the solution in Debug mode, the C# app throws a
DllNotFoundException. I've double checked and the C++ debug version of the
dll is being properly copied into the C# app's bin/debug folder, so its
actually there.
Why is it able to load the release version and not the debug version?
a C++ dll. When I build my C++ dll and C# app in Release mode, the C# app can
load the dll and call into it just fine.
However if I build the solution in Debug mode, the C# app throws a
DllNotFoundException. I've double checked and the C++ debug version of the
dll is being properly copied into the C# app's bin/debug folder, so its
actually there.
Why is it able to load the release version and not the debug version?