473,396 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

dependency problem

Hi,
I get the runtime msg:
File or assembly name xxx, or one of its dependencies, was not found.

It occurs before I can debug the sub in which I create the instance. The
appl starts fine and when hitting a button it happens.

It concerns a dll that worked, then I changed a few things (removing some
parameters) and I got this error. I refer to the original directory (copy
local = false). I used the forms and classes in the dll directly in a
testproject and I don't get compilation errors and it runs fine.
How do I go about in finding the problem? In the exception handler there is
no info, just the msg, also no innerexception.

Thanks for your help.
Frank
Nov 20 '05 #1
2 824
Aha, I found something myself. I removed the reference to the dll. Saved the
project and added the reference again. And the error was gone!?!?!?
Is there some refresh is should execute in the calling program after
changing the dll?

Frank

"Frank" <fr***@frank.com> wrote in message
news:cb**********@news4.tilbu1.nb.home.nl...
Hi,
I get the runtime msg:
File or assembly name xxx, or one of its dependencies, was not found.

It occurs before I can debug the sub in which I create the instance. The
appl starts fine and when hitting a button it happens.

It concerns a dll that worked, then I changed a few things (removing some
parameters) and I got this error. I refer to the original directory (copy
local = false). I used the forms and classes in the dll directly in a
testproject and I don't get compilation errors and it runs fine.
How do I go about in finding the problem? In the exception handler there is no info, just the msg, also no innerexception.

Thanks for your help.
Frank

Nov 20 '05 #2
try doing a Rebuild Solution instead of rebuild project, that sometimes
helps. ( if you were doing this anyway, just ignore my post ).

VS sometimes looses track, especially with larger more complex solutions.

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Frank" <fr***@frank.com> wrote in message
news:cb**********@news1.tilbu1.nb.home.nl...
Aha, I found something myself. I removed the reference to the dll. Saved the project and added the reference again. And the error was gone!?!?!?
Is there some refresh is should execute in the calling program after
changing the dll?

Frank

"Frank" <fr***@frank.com> wrote in message
news:cb**********@news4.tilbu1.nb.home.nl...
Hi,
I get the runtime msg:
File or assembly name xxx, or one of its dependencies, was not found.

It occurs before I can debug the sub in which I create the instance. The
appl starts fine and when hitting a button it happens.

It concerns a dll that worked, then I changed a few things (removing some parameters) and I got this error. I refer to the original directory (copy local = false). I used the forms and classes in the dll directly in a
testproject and I don't get compilation errors and it runs fine.
How do I go about in finding the problem? In the exception handler there

is
no info, just the msg, also no innerexception.

Thanks for your help.
Frank


Nov 20 '05 #3

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

Similar topics

4
by: Evelyne | last post by:
On a server W2K, IIS5, I have many messages from ASP : cirdular dependency between types/modules. Which can be the origin of the problem? Example : Event Type: Warning Event Source: Active...
4
by: Henke | last post by:
I have this scenario. public class A { public int numbers; public class A() { }
4
by: TT (Tom Tempelaere) | last post by:
Hi There, The error message: Error: The dependency 'XXX, Version=1.1.1671.19501, Culture=neutral' in project 'Test' cannot be copied to the run directory because it would conflict with...
2
by: Rimma Meital via .NET 247 | last post by:
(Type your message here) -------------------------------- From: Rimma Meital I have 2 DLLs (Class Libraries). Both defines single-ton objects - logger object (writes to logger) and...
5
by: Chris | last post by:
I have a project that I have been messing with for a while. I get a message in my task list that says: "The dependency 'ICSharpCode.SharpZipLib' could not be found." I added this library in a...
0
by: Dave | last post by:
I keep getting this warning: Warning: The dependency 'Brierley.Process, Version=1.0.1711.13537, Culture=neutral' in project 'ATCustomerSrv' cannot be copied to the run directory because it would...
5
by: Jay A. Moritz | last post by:
Error: The dependency '<my dll>' in project '<my project>' cannot be copied to the run directory because it would conflict with dependency '<my dll>'. I am getting a dependency error building...
3
by: DJTN | last post by:
I'm getting the following error when I try to compile my setup project in VS 2002. I have re-installed the .net framework 1.1 and it didnt solve the problem. WARNING: Unable to find dependency...
9
by: Brett Romero | last post by:
I have two projects in one solution - a library and executable. Each have a namespace such as: ROOT.myapp.Functional ROOT.myapp.UI However, each cannot reference the other. myapp.UI is...
3
by: donnyma | last post by:
I have a problem that looks like it has not been discussed before in these groups. I have a simple SQLAgent job that runs sp_who (could be anything, but let's just say sp_who for this example). ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.