472,791 Members | 1,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,791 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 1089

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Verane | last post by:
Hi all, I am working with C# and Visual studio 2003. What I want to do is the following : I have 3 assemblies, let call them A.exe, B.dll and C.dll. I want to dynamically load B and C when A...
9
by: Invalidlastname | last post by:
Hi, We developed some assemblies which use EnterpriseServices queued components. In order to use EnterpriseServices, these assemblies need to be installed into GAC. I used the pre-build and...
1
by: Scott Hamlin | last post by:
I am receiving an error while trying to use Crystal Reports with .NET, which I have pasted below. The main problem is this message: File or assembly name CrystalDecisions.CrystalReports.Engine,...
6
by: Sam-I-Am | last post by:
Hi There I have several websites that use shared assemblies in the GAC. When I try and update the GAC assemblies I get the following error: "The process cannot access the file because it is...
2
by: Siegfried Heintze | last post by:
I ran Internet Services Manager to create a virtual directory whose physical path was C:\InetPub\wwwroot\SIGNITEK_PRIVATE. Since this notebook is not exposed on the network, I gave the virtual...
2
by: Phil Certain | last post by:
Hi, Relative newbie to .Net but experienced with classic ASP. I am trying to create a simple business object to contain commonly used functions. This is what I have done: 1 - Created a simple...
0
by: tom.medhurst | last post by:
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...
4
by: Arpan | last post by:
Assume that I am creating ASP.NET pages in the C:\Inetpub\wwwroot\ASPX directory. This directory has a sub-directory named \bin where in all DLLs are stored. Are these DLLs which are stored in the...
2
by: Smithers | last post by:
I have a Windows Forms application that implements a plug-in architecture whereby required assemblies are identified and loaded dynamically. Here are the relevant classes: A = application =...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.