From e801b1f0ad63015a014f2047d3a4403690faedc2 Mon Sep 17 00:00:00 2001 From: Brock Allen Date: Mon, 3 Mar 2014 12:04:02 -0500 Subject: [PATCH] setting thread safe flag on MEF for .NET 4.5.1 issue --- src/OnPremise/WebSite/Global.asax.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OnPremise/WebSite/Global.asax.cs b/src/OnPremise/WebSite/Global.asax.cs index beeb6b76..252ef272 100644 --- a/src/OnPremise/WebSite/Global.asax.cs +++ b/src/OnPremise/WebSite/Global.asax.cs @@ -46,7 +46,7 @@ protected void Application_Start() private void SetupCompositionContainer() { - Container.Current = new CompositionContainer(new RepositoryExportProvider()); + Container.Current = new CompositionContainer(CompositionOptions.IsThreadSafe, new RepositoryExportProvider()); } } } \ No newline at end of file