Windows Phone 8 - 加载设计器时出现异常 [英] Windows Phone 8 - Exception while loading designer

查看:34
本文介绍了Windows Phone 8 - 加载设计器时出现异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的机器上安装了 Windows 8 企业版.我在设计 Windows Phone 8 应用程序开发时遇到问题.设计器部分抛出异常

<块引用>

System.Exception 包更新失败、依赖或冲突验证.(来自 HRESULT 的异常:0x80073CF3)在Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(字符串applicationPath、String clientPort、Uri hostUri、IDictionary环境变量,Int32&processId,对象&过程数据)在Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory工厂,IIsolationBoundary 边界,AppDomainSetup appDomainInfo,FrameworkName targetFramework,字符串标识符,字符串基目录)在Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary边界)在Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary边界)在Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()在Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](类型类型)在Microsoft.Expression.DesignHost.Isolation.IsolatedExportProvider.Initialize()在Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateExportProvider(IIsolationTarget隔离目标、ICatalogFactory 目录工厂、IExportFilter 过滤器)在Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget隔离目标)在Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget隔离目标、CancellationToken 取消令牌、DesignerServiceEntry&条目)在Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken取消令牌)在Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo文化, Func2 func, CancellationToken cancelToken) 在Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa1.b__6()在 System.Threading.Tasks.Task`1.InnerInvoke() 在System.Threading.Tasks.Task.Execute()

作为附加信息,如果我将 blend 用于设计目的,并且在一些设计之后我使用 Visual Studio 打开解决方案,设计将正确加载.看起来问题出在使用 VS2012 创建解决方案时.

我正在尝试找出此问题的根本原因和解决方案.请帮忙

解决方案

错误代码代表以下内容:

<块引用>

包更新、依赖或冲突验证失败.

<块引用>

可能的原因:

  1. 传入的包与​​已安装的包冲突.
  2. 找不到指定的包依赖项.
  3. 该软件包不支持正确的处理器架构.查看 AppXDeployment-Server 事件日志以了解更多信息.

你能:

  • 创建 Windows 应用商店应用程序和其他基于 XAML 的应用程序,无需设计师有问题?
  • 在设计者没有问题的情况下打开 WP8 应用程序?

是否:PC 是否满足 WP8 SDK 的要求?><块引用>

支持的操作系统 Windows 8、Windows 8 Pro 操作系统类型:Windows 8 64 位 (x64) 客户端版本硬件:6.5 GB 可用硬盘空间 4 GB RAM 64 位 (x64) CPU Windows Phone 8 模拟器:Windows 8 专业版或更高版本需要处理器支持二级地址转换 (SLAT)- 可以安装不代表SDK满足要求!

  • 应用程序有依赖关系?如果是:它们是否正确引用了所有需要的程序集?

你有吗:

  • 安装了所有 Windows 更新 + Visual Studio 更新
  • 尝试了 Visual Studio 修复

做上面的事情重启你甚至可以尝试重新安装VS2012

最大的问题是,它曾经奏效过吗?如果是,那之后发生了什么变化?

I have Windows 8 Enterprise Edition installed in my Machine. I am facing problem while designing windows phone 8 application development. The designer part throws an exception

System.Exception Package failed updates, dependency or conflict validation. (Exception from HRESULT: 0x80073CF3) 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.IsolatedExportProvider.Initialize() at Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateExportProvider(IIsolationTarget isolationTarget, ICatalogFactory catalogFactory, IExportFilter filter) 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, Func2 func, CancellationToken cancelToken) at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa1.b__6() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute()

As an additional information, If I am using blend for designing purpose and after some designing I use Visual Studio to open the solution the design loads properly. Looks like the problem is while creating solution using VS2012.

I am trying to figure out the root cause and solution for this problem. Please, help

解决方案

The error code stands for the following:

The package failed update, dependency, or conflict validation.

Possible causes:

  1. The incoming package conflicts with an installed package.
  2. A specified package dependency can't be found.
  3. The package doesn't support the correct processor architecture. Check the AppXDeployment-Server event log for more info.

Can you:

  • Create a Windows Store App and other XAML based applications without the designer having issues?
  • Open a WP8 app without the designer having issues?

Does the: PC meet the requirements for the WP8 SDK?

Supported Operating System Windows 8, Windows 8 Pro Operating system type: Windows 8 64-bit (x64) client versions Hardware: 6.5 GB of free hard disk space 4 GB RAM 64-bit (x64) CPU Windows Phone 8 Emulator: Windows 8 Pro edition or greater Requires a processor that supports Second Level Address Translation (SLAT) -Just because the SDK can be installed doesn't mean that it meets the requirements!

  • Application have dependencies? If yes: Are they properly references with all the needed assemblies?

Have you:

  • Installed all Windows updates + Visual Studio Updates
  • Tried a Visual Studio repair

Do the things above an restart You could even try to re-install VS2012

Biggest question is, did it ever work- and if yes, what has changed since then?

这篇关于Windows Phone 8 - 加载设计器时出现异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆