Re: What is the counterpart of libpath in c#(.NET) as in Java?

From: Reinhold Schalk (ReiSchalk_at_gmx.de)
Date: 03/19/04


Date: Fri, 19 Mar 2004 10:26:52 +0100

As far as i know, the assembly must use strong-naming.
A private assembly can only be deployed private, that means in the
application directory. If you want to use another directory (not appbase
and not GAC) you must use strong-naming.

HTH
Reinhold

"Z D" <nospam@nospam.com> schrieb im Newsbeitrag
news:eRO7kyVDEHA.1240@TK2MSFTNGP10.phx.gbl...
> You could use the Reflection class to dynamically load the class at
runtime.
> This would involve knowing the physical location of the assembly though.
> You could store the info in a config file however.
>
> -ZD
> "Bill Park" <bill@nospamland.com> wrote in message
> news:eO1QVtVDEHA.2076@TK2MSFTNGP09.phx.gbl...
> > I am trying to access .net assemblies not in the current program
> > directories. Those assemblies are not in GAC. In Java, I just have to
make
> > sure those classes(jar files) are in the directories of libpath.Do we
have
> > something similar in .NET? If not, how can I access assemblies not in
the
> > current directory and not in GAC?
> >
> > Thanks for your help.
> >
> >
>
>



Relevant Pages

  • Re: Why are assemblies loading from the GAC?
    ... Because CLR start looking for assebmly from the GAC. ... To override this behaviour you need to redirect it in the config file to the version in you private folder. ... S> put several assemblies in the GAC. ... S> I'd like to debug aren't getting loaded; ...
    (microsoft.public.dotnet.framework)
  • Re: Anybody use Strong Name Signing?
    ... Deployment in Visual Studio ... Strong-Name Signing for Managed Applications ... Reasons to Use Strong-Naming ... You can strong-name .NET Framework assemblies and XML manifests. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: GAC and configfile
    ... A Dll cant have its own config file from which values are picked at runtime. ... When you register assemblies in the GAC, they are actually stored in their ...
    (microsoft.public.dotnet.framework)
  • Re: Anybody use Strong Name Signing?
    ... Strong names are there to uniquely identify your assembly so that it can be installed in several different versions and so that your applications or users of your assemblies can use the right one. ... The key has nothing to do with visual studio. ... Strong-Name Signing for Managed Applications ... Reasons to Use Strong-Naming ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: What is the counterpart of libpath in c#(.NET) as in Java?
    ... the assembly must use strong-naming. ... > You could store the info in a config file however. ... Those assemblies are not in GAC. ...
    (microsoft.public.dotnet.general)