----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: SitaramanM Message 7 in Discussion Hi Rakesh Gaurav's post basically tells the solution possible to the original query. To explain, you have three different ways to access a Shared(in the literal sense and not the .Net GAC based Shared Assembly(which basically means a GAC resident Assembly) sense) Assemblies 1) GAC Based Access : as u know the advantage is that they are placed in a central location. But in addition to that the actual advantage is thet this is a default location that a runtime looks for, in addition to the(appbase, privatebinpath, codebase locations) when an assembly is requested to be loaded. But this is machine specific If you want it in a different drive/machine/uri thwen you have the other two options(apart from remoting). They are 2) CodeBase based Access : If your assembly is strong-named, then you can place it any location and specify it in the codebase element in the application config file. This could be a url also and the assembly will be accessible. For the codebase syntax in the config file, take a look at the msdn examples 3) Assembly.Load mechanism : As gaurav suggested, use Assembly.LoadFrom and pass the the path of the assembly and provided the security is correctly configured, this will work So do note that Gaurav has suggested the mechanism which is definitely a sureshot[as pt 1) above will require GAC placement and pt 2) above requires that the assembly to be strong named whereas pt 3) does not need any of these requirements] hth regards, sr ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
