Hi guys
I have really spent far too much time on this problem and wondered if a guru
could help me out. Here is my problem...
I am attempting to perform unit tests after an installation of my app on a
clean win2k3 system. The application contains lots of dlls which are all
placed in the one directory, non of them require being registered with the
GAC.
Now I should point out that I have already attempted to run these unit tests
on my dev machine and they all run fine.
I use NUnit-Console to run tests on the one dll, which in-turn uses the
other assemblies in the same directory.
When I run the unit tests, the dll is loaded (I assume it also indexes the
others it references too), and the tests start, but they all fail apparently
because the other assemblies cannot be found?
== Here is the error it presents: ==
1) {assemblyname} : System.IO.FileNotFoundException : File or assembly name
{otherassemblyinsamedir}, or one of its dependencies, was not found.
I am aware that no mere mortal could solve my problem simply by looking at
it, but I have really no idea how to go about solving the problem, what can I
check/try/toggle with? Why would it be able to load the assemblies but then
loose them during the unit testing.
I have tried running the tests with shadow-copy turned off, just incase it
is copying-issue. I have attempted to use MbUnit but when opening it from
this machine it cannot find MbUnit.Core.dll (which is there!) so I abandoned
this.
Any help whatsoever would be most appreciated as I have a really tight
deadline (actually last week!)
Many Thanks
Tom