Visual Studio的混合在Designer视图中获取未处理的异常 [英] Blend for Visual Studio getting unhandled exception in Designer View

查看:91
本文介绍了Visual Studio的混合在Designer视图中获取未处理的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将我的Windows应用商店应用加载到Blend中,并立即收到以下异常消息:

I just loaded my Windows Store App into Blend and immediately got the following exception message:

System.Exception

System.Exception

已安装提供的软件包,并且已阻止重新安装软件包。检查AppXDeployment-Server事件日志以获取详细信息。 (HRESULT异常:0x80073CFB)

The provided package is already installed, and reinstallation of the package was blocked. Check the AppXDeployment-Server event log for details. (Exception from HRESULT: 0x80073CFB)

   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)  在Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)  在Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary
boundary)  在Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()  在Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance [T](类型类型)  在Microsoft.Expression.DesignHost.Isolation.IsolatedExportProvider.Initialize()  
at Microsoft.Expression.DesignHost.Isolation.IsolationService.IsolationLease.Microsoft.Expression.DesignHost.Isolation.IIsolationLease.get_Boundary()  在Microsoft.Expression.DesignHost.IsolatedDesignerService。<> c__DisplayClass1e。< CreateLease> b__1c(KeyValuePair`2
h)  在System.Linq.Enumerable.FirstOrDefault [TSource](IEnumerable`1 source,Func`2谓词)  在Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget,CancellationToken cancelToken,DesignerServiceEntry&
条目)  在Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)  在Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture [T](CultureInfo
culture,Func`2 func,CancellationToken cancelToken)  在Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler。<> c__DisplayClassa`1。< StartTask> b__6()  在System.Threading.Tasks.Task`1.InnerInvoke()   at
System.Threading.Tasks.Task.Execute()

   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.Expression.DesignHost.Isolation.IsolationService.IsolationLease.Microsoft.Expression.DesignHost.Isolation.IIsolationLease.get_Boundary()   at Microsoft.Expression.DesignHost.IsolatedDesignerService.<>c__DisplayClass1e.<CreateLease>b__1c(KeyValuePair`2 h)   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)   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()

我查找了这个错误,发现以下帖子说更新解决了这个问题:

http://social.msdn.microsoft.com/Forums/en-US/toolsforwinapps/thread/737be9a1-66bd-47fe-ba26-406670b5bd97

I looked up this error and found the following thread that said that an update fixed this issue: http://social.msdn.microsoft.com/Forums/en-US/toolsforwinapps/thread/737be9a1-66bd-47fe-ba26-406670b5bd97

Blend的情况不是这样吗?

Is this not the case with Blend?

这是我目前使用的版本信息:

This is the version info that I am currently using:

Microsoft Visual Studio Ultimate 2012

版本11.0.51106.01更新1

Microsoft .NET Framework

版本4.5.50709

Microsoft Visual Studio Ultimate 2012
Version 11.0.51106.01 Update 1
Microsoft .NET Framework
Version 4.5.50709

已安装版本:Ultimate

Installed Version: Ultimate

架构和建模工具   04940-004-0038003-02174

Microsoft体系结构和建模工具

Architecture and Modeling Tools   04940-004-0038003-02174
Microsoft Architecture and Modeling Tools

Visual C#2012   04940-004-0038003-02174

Microsoft Visual C#2012

Visual C# 2012   04940-004-0038003-02174
Microsoft Visual C# 2012

混合版本:5.0.31017.0

Blend Version: 5.0.31017.0

非常感谢任何帮助!

推荐答案

你好ioe_coolish,

Hi ioe_coolish,

问题只发生在一个特定项目上吗?或者它适用于任何项目?

Does the issue only happen to one specific project? Or it happens to any projects?

您是否尝试重新启动计算机?

Have you tried re-boot the computer?

您能否在EventViewer上查看错误日志:应用程序和服务\ Microsoft \ Windows \ AppxDeployment - 服务器并发布它?

Could you please check the error logs at EventViewer : Applications and Service \ Microsoft \ Windows \ AppxDeployment - Server and post it?

谢谢,


这篇关于Visual Studio的混合在Designer视图中获取未处理的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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