Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
General question about DLLs, references
Message
From
22/01/2003 13:00:42
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00744290
Message ID:
00744352
Views:
9
Kevin,

You're probably setting the reference wrong ... how are you doing it? You should be doing it by right-clicking on "References" in your Solution Explorer and choosing "Add Reference". Then, in the Add Reference Dialog, click on the Projects tab and choose a project from there. Is this what you've been doing?

Oh, and the COPY LOCAL set to TRUE is correct...

~~Bonnie



>This is a basic question about DLLs, references, etc.
>
>Let's say I have a basic WinForm, and an 'external' DLL [say, a basic MOVER container dialog]. I create the MOVER and compile it as a separate project/DLL. The Winform has a reference to it.
>
>If I go and make a change to the MOVER DLL and compile/rebuild the DLL, it seems [at least the way I've set up my project] that I have to go recompile the Winform as well. This doesn't make much sense...but it may be because I've set the reference incorrectly.
>
>[I don't know if this is relevant, but in my reference, I have the property COPY LOCAL set to TRUE]. If I set that to FALSE, it doesn't work at all.
>
>I have the same general question if the external DLL is a business logic library that has no UI presence. It seems that everytime I make a change to the DLL, I need to rebuild my Winform project, or else I have a 'broken reference'. I guess that since rebuilding the DLL means the build number for the DLL gets incremented...and the winform no longer 'recognizes' it.
>
>Again, I may be doing a bunch of things wrong...can someone steer me in the right path?
>
>Thanks,
>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform