471,356 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,356 software developers and data experts.

Missing Assemblies in \bin\

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
Jul 21 '05 #1
0 1066

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Verane | last post: by
9 posts views Thread by Invalidlastname | last post: by
1 post views Thread by Scott Hamlin | last post: by
6 posts views Thread by Sam-I-Am | last post: by
2 posts views Thread by Siegfried Heintze | last post: by
2 posts views Thread by Phil Certain | last post: by
reply views Thread by tom.medhurst | last post: by
4 posts views Thread by Arpan | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.