F.Gsell | 26 May 2011 09:36
Picon
Favicon

Load Addin in AppDomain

Hi,

is it possible to load an AddIn in a separate AppDomain. As far as I
understand the mechanism, I have to run the AddInManager initiailze in
the separate appdomain and load the AddIns. But how can I run the
AddInManager initialize in a separate AppDomain?

When I try to create the AddInManager in the new AppDomain via
CreateInstanceAndUnwrap I get an exception becauce the AddInManager is
not marked as serializable?

Any help would be great.

Thanks
F.Gsell

--

-- 
You received this message because you are subscribed to the Google Groups "Mono.Addins" group.
To post to this group, send email to mono-addins@...
To unsubscribe from this group, send email to mono-addins+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/mono-addins?hl=en.

Lluis Sanchez Gual | 31 May 2011 19:46
Picon
Gravatar

Re: Load Addin in AppDomain

You can't directly create an instance of AddinManager. What you can do is create a class which initializes
the AddinManager and create an instance of that class in the app domain.

El 26/05/2011, a las 09:36, F.Gsell escribió:

> Hi,
> 
> is it possible to load an AddIn in a separate AppDomain. As far as I
> understand the mechanism, I have to run the AddInManager initiailze in
> the separate appdomain and load the AddIns. But how can I run the
> AddInManager initialize in a separate AppDomain?
> 
> When I try to create the AddInManager in the new AppDomain via
> CreateInstanceAndUnwrap I get an exception becauce the AddInManager is
> not marked as serializable?
> 
> Any help would be great.
> 
> Thanks
> F.Gsell
> 
> -- 
> You received this message because you are subscribed to the Google Groups "Mono.Addins" group.
> To post to this group, send email to mono-addins@...
> To unsubscribe from this group, send email to mono-addins+unsubscribe <at> googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mono-addins?hl=en.
> 

--

-- 
You received this message because you are subscribed to the Google Groups "Mono.Addins" group.
(Continue reading)


Gmane