Re: Newbie Classes & externals
From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 03/11/04
- Next message: Jon Skeet [C# MVP]: "Re: StreamReaders and position"
- Previous message: JPRoot: ""is" operator on enums"
- In reply to: raykos: "Re: Newbie Classes & externals"
- Next in thread: raykos: "Re: Newbie Classes & externals"
- Reply: raykos: "Re: Newbie Classes & externals"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 11 Mar 2004 09:57:31 -0500
Ray,
Yes, it means that you would have to actually move that library to the
other PC as well. However, with .NET it is really very simple. You just
have to place the assembly in the same directory as the one that references
it.
Your only other option is to copy the code from each class into your new
application, which would force recompiles of all your apps should you want
to change something in those libraries.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
"raykos" <anonymous@discussions.microsoft.com> wrote in message
news:4ECE7AD2-3D46-46CE-A3C1-611A334AAAB5@microsoft.com...
> Hello Nicholas,
>
> Thank you for your reply, maybe because I'm still learning, but doesn't
referencing to a class in a library,
> 'tie' me to that library? In other words, if I have a reference(link?)
to a class I want to use , and deceide to move
> my .exe to another PC, does that mean I would have to also move the
library I'm referenced to? Or does
> referencing mean it actually includes the class I want into the .exe?
- Next message: Jon Skeet [C# MVP]: "Re: StreamReaders and position"
- Previous message: JPRoot: ""is" operator on enums"
- In reply to: raykos: "Re: Newbie Classes & externals"
- Next in thread: raykos: "Re: Newbie Classes & externals"
- Reply: raykos: "Re: Newbie Classes & externals"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|