Groups | Blog | Home
all groups > dotnet remoting > january 2006 >

dotnet remoting : Remoting Object not in application's folder


donnythebowler NO[at]SPAM gmail.com
1/30/2006 10:04:47 AM
I am developing a remote object that will be part of an application's
Plug-In framework. As a result of this framework, the plugin has to
conform to the following:

1) Inherit from System.Windows.Forms.UserControl
2) Have it's resulting assembly copied to the application's 'PlugIns'
directory.

I can open the hosting application and call the methods appropriate for
Registering the remote object (I can load the Plug-In and call
RemotingConfiguration.Configure() ) with no problem.

The problem arises when I try to call the remote methods on this
service. It appears that the assembly can not be found because the
actual dll is not located in the same folder as the application that
hosts the plugin.

Is there a way to specify that a Remoting server is loaded from an
alternate path like this??

Thanks.
Anardil
2/24/2006 2:01:26 AM


[quoted text, click to view]

Ever tried CreateInstanceFrom - method of type AppDomain?

AddThis Social Bookmark Button