XAML 代码的设计器未在 Visual Studio 2012 中加载。显示以下错误。任何帮助表示赞赏。
System.ObjectDisposedException 安全句柄已在 Microsoft.Expression.DesignHost.Isolation.Primitives 的 Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData) 处关闭。 Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary 边界) 在 Microsoft.Expression.HostUtility 的 ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory 工厂,IIsolationBoundary 边界,AppDomainSetup appDomainInfo,FrameworkName targetFramework,字符串标识符,字符串 baseDirectory)。 Platform.AppContainerProcessDomainFactory。Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize() 处的 CreateIsolationDomain(IIsolationBoundary 边界) Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type) 处的 Microsoft.Expression.DesignHost.Isolation .IsolatedExportProvider.Initialize() 在 Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateExportProvider(IIsolationTargetisolationTarget,ICatalogFactory catalogFactory,IExportFilter 过滤器) 在 Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTargetisolationTarget) 在 Microsoft.Expression.DesignHost .IsolatedDesignerService.CreateLease(IIsolationTargetisolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry) 在 Microsoft.Expression.DesignHost。在 Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo 文化,Func
2 func, CancellationToken cancelToken) at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa
1.b__6() 在 System.Threading.Tasks.Task`1.InnerInvoke() 在 System.Threading.Tasks.Task.Execute()