diff options
author | Lluis Sanchez Gual <lluis@novell.com> | 2011-01-21 21:40:12 +0300 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@novell.com> | 2011-01-21 21:40:12 +0300 |
commit | 310834aa8a441b5a9fd59b021f16cdffd6bfcee1 (patch) | |
tree | da06747d750a2cade8a546b69789015d6f3e1390 | |
parent | 14bdc982fe871e3af44405e6246914047c7283b5 (diff) |
Fix bug #6102
Make sure the scan domain has the same configuration as the main
domain, so that it is able to resolve assemblies in the same way
-rw-r--r-- | Mono.Addins/Mono.Addins.Database/SetupDomain.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mono.Addins/Mono.Addins.Database/SetupDomain.cs b/Mono.Addins/Mono.Addins.Database/SetupDomain.cs index bb2aa82..d06455d 100644 --- a/Mono.Addins/Mono.Addins.Database/SetupDomain.cs +++ b/Mono.Addins/Mono.Addins.Database/SetupDomain.cs @@ -67,7 +67,7 @@ namespace Mono.Addins.Database { lock (this) { if (useCount++ == 0) { - domain = AppDomain.CreateDomain ("SetupDomain"); + domain = AppDomain.CreateDomain ("SetupDomain", null, AppDomain.CurrentDomain.SetupInformation); remoteSetupDomain = (RemoteSetupDomain) domain.CreateInstanceFromAndUnwrap (typeof(RemoteSetupDomain).Assembly.Location, typeof(RemoteSetupDomain).FullName); } return remoteSetupDomain; |