Re: What is the counterpart of libpath in c#(.NET) as in Java?
From: Reinhold Schalk (ReiSchalk_at_gmx.de)
Date: 03/19/04
- Next message: Mohammad Abu Sharkh: "Impersonation in VB and Network Printers"
- Previous message: [MSFT]: "RE: Looking for a way to add unique persistent cookie to IIS 6.0 log file"
- In reply to: Z D: "Re: What is the counterpart of libpath in c#(.NET) as in Java?"
- Next in thread: Mark: "Re: What is the counterpart of libpath in c#(.NET) as in Java?"
- Messages sorted by: [ date ] [ thread ]
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.
> >
> >
>
>
- Next message: Mohammad Abu Sharkh: "Impersonation in VB and Network Printers"
- Previous message: [MSFT]: "RE: Looking for a way to add unique persistent cookie to IIS 6.0 log file"
- In reply to: Z D: "Re: What is the counterpart of libpath in c#(.NET) as in Java?"
- Next in thread: Mark: "Re: What is the counterpart of libpath in c#(.NET) as in Java?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|