Thanks for checking out my question. This is a weird problem.
We've got a big complicated solution with many subprojects. It runs
fine, right now I'm trying to set up NUnit tests for part of the
code. For some reason in NUnit it can not find a DLL. It exists in
all of the bin directories for the various projects in the solution,
including the test project. I'm just not sure where it expects to see
this DLL.
I thought I should be able to see the expected path in the details for
the exception but the information is not there, this is everything I
get from that:
System.DllNotFoundException was unhandled
Message="Unable to load DLL 'CANUsb.dll': The specified module could
not be found. (Exception from HRESULT: 0x8007007E)"
Source="BL"
TypeName=""
StackTrace:
at BL.CAN_Network.CANLibrary.INIPC_close_board()
at BL.CAN_Network.CCAN_NetworkManager.Finalize() in C:\SVN
\Bausch\NGPC\trunk\NGPCApplication\GUI\CAN_Network
\CAN_NetworkManager.cs:line 145
InnerException:
The inner exception part is blank, just as pasted here.
How can I see where it is looking for this dll?
Thanks!