473,322 Members | 1,755 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,322 software developers and data experts.

DLL Hell in vb.net

G B


I am having one of those days!! I hope somebody can help

I have a solution with many projects and using project references

MyCompany.Solution
MyCompany.Utilities.dll
Mycompany.WinForms.dll (this one Project ref the above)
MyCompany.WinAppUI

many of my projects reference the Utitilies.dlls

Now when in MyCompany.WInAPPUI i add a control that belongs
to the "MyWinforms.dll"
it first complains ".net assembly "MycompanyUtilities.dll" could not be
found.
2nd time round it says that "Unable to write to output file because
process is in use by another ...."

Now Should vs.net handle all that with project references.
I have checked my copylocal and is set to true.

I hack that i have found is that if i had manually the utilities.dll it
works.

can somebody clarify how things should be done?

it is driving me mad.
Article q313512 was short and didnt solve my problem.

anybody PLEASSSEEEEEEEEEEEEE


Thanks
vbnetuk

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 21 '05 #1
2 1214
Might want to check what versions of your utilities class your projects are
referencing. Could be a mixup where one is referencing an older version in
a different directory.

That's my best guess at least.

When doing something like this, get it pretty solid and keep it in a
directory specifically for releases of that dll. That way, everything stays
uniform.
"G B" <vb*****@yahoo.co.uk> wrote in message
news:OG**************@TK2MSFTNGP15.phx.gbl...


I am having one of those days!! I hope somebody can help

I have a solution with many projects and using project references

MyCompany.Solution
MyCompany.Utilities.dll
Mycompany.WinForms.dll (this one Project ref the above)
MyCompany.WinAppUI

many of my projects reference the Utitilies.dlls

Now when in MyCompany.WInAPPUI i add a control that belongs
to the "MyWinforms.dll"
it first complains ".net assembly "MycompanyUtilities.dll" could not be
found.
2nd time round it says that "Unable to write to output file because
process is in use by another ...."

Now Should vs.net handle all that with project references.
I have checked my copylocal and is set to true.

I hack that i have found is that if i had manually the utilities.dll it
works.

can somebody clarify how things should be done?

it is driving me mad.
Article q313512 was short and didnt solve my problem.

anybody PLEASSSEEEEEEEEEEEEE


Thanks
vbnetuk

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 21 '05 #2
G B

Thanks for your reply.

The all issue with project reference is that you dont have to worry
about "old,new " dlls.

Vs.net should do it.

If i have a control that reference a dll via project referencing.When
dropping the control on the form should it create all the refs necessary
automatically?

if so what am i doing wrong??

thanks
vbnetuk

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 21 '05 #3

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

Similar topics

0
by: kayodeok | last post by:
We're Mad As Hell And We're Not Going To Take It Anymore http://hownow.brownpau.com/index.html The web is a mess. We're tired of this deluge of <font> tags, nested tables, spacer GIFs, and...
3
by: .DLL hell II - The Evil Empire Strikes Back | last post by:
I can't figure out how this side-by-side assembly stuff it supposed to work. I have a stack of four assemblies A has no references B references A & C C References A & B D References A, B and C...
22
by: Jim Hubbard | last post by:
I am reposting a portion of a thread that I am involved in under a new topic because it seems that there are still people that believe the whole "DLL Hell" myth. I hope I can shed some light on...
2
by: Nad | last post by:
Hello, dll hell has been eliminated in .NET using assembly versioning. I am new in .NET and would like to know if there is any dll-hell-equivalent in .NET Windows or Web development...
21
by: Nx | last post by:
Hi I am unpacking a list into variables, for some reason they need to be unpacked into variable names like a0,a1,a2....upto aN whatever is in the list. How to create the variables dynamically...
1
by: GreatB | last post by:
Bill Gates died in a car accident. He found himself in Purgatory being sized up by God . .. "Well, Bill, I'm really confused on this call. I'm not sure whether to send you to Heaven or Hell....
18
by: Dave Sauny | last post by:
Ok, its a friday, I'm at work and I cant get this to work: I have 3 listboxes on one tab control page. when i select an item in listbox1 i want whatever is selected on the other 2 listboxes...
3
by: fyleow | last post by:
I just spent hours trying to figure out why even after I set my SQL table attributes to UTF-8 only garbage kept adding into the database. Apparently you need to execute "SET NAMES 'utf8'" before...
2
by: Scott M. | last post by:
I need a little help please... I'm simply trying to set up a very basic event for a class and then create an event handler for that class in a Console application. I think I'm very close, but...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.