Re: Newbie Classes & externals

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 03/11/04


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?


Relevant Pages

  • Re: dao problem -- reference libraries
    ... Look at the libraries that Access is referencing ... if the DAO by ATI Multimedia is checked, uncheck it and then check a Microsoft DAO Library if you have code that uses DAO. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Lazy Loading (was: Is the global shared library segment paged?)
    ... Ken Wallis wrote: ... the libraries are built for lazy loading (I've tried dump -H, ... > version of the library will fall over with a message referencing the ... > parameters which would cause AIX to page out shared objects which ...
    (comp.unix.aix)
  • Re: ONE search, please
    ... As a registered user you are ... save session query history for referencing at a later date ... The national libraries of Europe ...
    (soc.genealogy.britain)
  • Re: Namespace issue
    ... > When you're referencing Parser in your declaration, ... > I've two class libraries, where one is referencing the other. ... > namespace Codab.Parser ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Standalone VB exe
    ... libraries or components and so that it uses nothing other than the ... standard Dependency File and it tells me that my program requires a ... The exe does run fine as a "stand alone exe" on all ... standard VB6 project with just a few bits of code and create a Dependency ...
    (microsoft.public.vb.general.discussion)