尝试在 Windows 商店应用程序 c# 中查看设计器时出错 [英] Error when trying to view designer in windows store app c#

查看:18
本文介绍了尝试在 Windows 商店应用程序 c# 中查看设计器时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试查看项目中的任何 xaml 设计页面时,我收到以下错误消息,谁能告诉我这是什么意思?

System.Exception包更新、依赖项或冲突验证失败.Windows 无法安装包 App.a9a122e61.a5503.a4c46.a9cbd.ad0f269743658,因为此包依赖于另一个无法找到的包.此软件包需要任何发行商发布的框架 Microsoft.VCLibs.110.00.Debug 的最低版本 0.0.0.0 才能安装.与此包一起提供框架.在 Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData)在 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 边界)在 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 isolationTarget, ICatalogFactory catalogFactory, IExportFilter filter)在 Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)在 Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry)在 Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)在 Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfoculture, Func`2 func, CancellationToken cancelToken)在 Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa`1.<StartTask>b__6()在 System.Threading.Tasks.Task`1.InnerInvoke()在 System.Threading.Tasks.Task.Execute()

谢谢,

卡勒姆

更新

经过大约一个小时的搜索;我已经求助于使用搅拌机,因为它在那里工作得很好.

对于不知道如何操作的人:

打开aspx页面->查看->用Blend打开...

解决方案

我知道这是一个老问题,但由于没有答案,这可能对某人有所帮助.我在这里回答了同样的问题:

I am getting the below error messages when I try and view any xaml design page in my project, can anyone tell me what it means?

System.Exception
Package failed updates, dependency or conflict validation.

Windows cannot install package App.a9a122e61.a5503.a4c46.a9cbd.ad0f269743658 because this package depends on another package that could not be found. This package requires minimum version 0.0.0.0 of framework Microsoft.VCLibs.110.00.Debug published by any publisher to install. Provide the framework along with this package.
   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, 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()

Thanks,

Callum

UPDATE

After about an hour of searching; I have resorted to using blender as it work fine in there.

For people who don't know how to do this:

Open the aspx page -> View -> Open with Blend...

解决方案

I know it's an old question but since there is no answer, that might help someone. I answered this same question here :

XAML editor failes, Package failed updates, dependency or conflict validation.Windows cannot install package App

Your issue says that you're missing this package : "Microsoft.VCLibs.120.00.Debug" (in your case VCLibs.110) You can solve it by adding in the visual studio installer. "Core Tools for Visual C++ Mobile Development" which is in the branch "Visual C++ for Cross Platform Mobile Development".

这篇关于尝试在 Windows 商店应用程序 c# 中查看设计器时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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