我使用Visual Studio 2013 Ultimate(Update 4)中的默认空白应用程序模板创建了Windows Phone应用程序。设计图面崩溃,出现以下错误。
我的PC上有超过4GB的可用内存。我可以在模拟器中运行应用程序,但无法在visual studio中使用设计界面。
任何人都可以帮我解决这个问题吗?
---Error----
An Unhandled Exception has occurred.
Click here to reload the designer
Details:
System.Exception
Package could not be registered.
error 0x80070002: Windows cannot register the package because of an internal error or low memory.
at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData)
at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, FrameworkName targetFramework, String identifier, String baseDirectory)
at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()
at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
at Microsoft.Expression.DesignHost.Isolation.IsolatedObjectFactory.Initialize()
at Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog)
at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry)
at Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa`1.<StartTask>b__6()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
此致 杰文
答案 0 :(得分:0)
重置Windows商店缓存可能值得尝试,如http://answers.microsoft.com/en-us/windows/forum/windows8_1-windows_store/windows-81-apps-install-failure-with-error-code/ee1ef24e-5e3d-494c-88c9-c3e66845b53e
所述如果可能,其他选项是创建新的用户帐户: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/94a86a71-3eb2-48bb-be91-9540bf1082e9/error-0x80070002-while-loading-mainpage-desinger?forum=wpdevelop