Version Resilience & AppDomains

Jul 9, 2008 at 8:53 PM

Can you version an addin independently from the host if they are in the same AppDomain?

Jul 10, 2008 at 1:35 PM
Hi John,

Yes, whether you host the add-in in its own AppDomain or in the same AppDomain, MAF will still use the appropriate pipeline segments to connect the two together. Therefore, you will still get version tolerance. Of course, what you will lose is the ability to reclaim all the resources in use by the add-in, since calling Shutdown on it will only disconnect it, not unload all the related assemblies and AppDomain.

Also, take a look at the AddInToken.EnableDirectConnect property - it sounds like it might be relevant to your use case.