Unmanaged DLL staying loaded in NUnit GUI
"Nassar, Anthony" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
Forwarded from Nick Walker... ________________________________ From: Nick Walker [mailto:[email protected]] Sent: Friday, December 21, 2007 4:52 AM ... I think this is to do with the Enable Shadow Copy option on the Tools|Options page. If ticked, this option causes the whole "EXE folder" to be copied to a temp folder before being run. This is so that when you go back to recompiling your module, it's not being "blocked" by the Nunit app, stopping VS from updating the DLL. If cleared, then the app is run in its normal folder but Nunit loads (and blocks) the DLL, resulting in the error seen. If your DLL is loading data from a file that must reside in the EXE folder then you'll need to have it cleared but otherwise try it set and see if it sorts out your problem. This is the only aspect of Nunit I feel I can answer on with any authority whatsoever so I hope this turns out to be of use. If it turns out that you've got this option set already then I've probably got it wrong :-( Nick Walker ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users