PC Review


Reply
Thread Tools Rate Thread

Missing Assemblies in \bin\

 
 
=?Utf-8?B?dG9tLm1lZGh1cnN0?=
Guest
Posts: n/a
 
      23rd Jun 2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Large assemblies/fewer quantity or Smaller assemblies/Larger quantities. milop Microsoft Dot NET Framework 0 26th Mar 2010 09:05 PM
System.Type.GetCommonAttributes() works on c# assemblies, not managed c++ assemblies. brad Microsoft Dot NET Framework 1 4th Mar 2007 03:43 PM
Loading resources from satellite assemblies of reflection loaded assemblies.. npthomson@gmail.com Microsoft C# .NET 0 23rd Nov 2006 06:08 PM
Missing referenced assemblies in compiled dll ... Richard Microsoft Dot NET Framework 2 19th Oct 2006 09:22 AM
[FCL 1.1] Missing assemblies Andrea Raimondi Microsoft Dot NET Framework 1 29th Oct 2005 01:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:06 PM.