简体   繁体   English

尝试在Windows Store App C#中查看设计器时出错

[英]Error when trying to view designer in windows store app c#

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? 当我尝试查看项目中的任何xaml设计页面时,出现以下错误消息,有人可以告诉我这是什么意思吗?

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 UPDATE

After about an hour of searching; 经过大约一个小时的搜索; I have resorted to using blender as it work fine in there. 我已经使用了Blender,因为它在那里工作正常。

For people who don't know how to do this: 对于不知道该怎么做的人:

Open the aspx page -> View -> Open with Blend... 打开aspx页面->视图->使用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 XAML编辑器失败,程序包更新失败,依赖性或冲突验证。Windows无法安装程序包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. 您的问题表明您缺少此软件包:“ Microsoft.VCLibs.120.00.Debug” (在您的情况下为VCLibs.110),可以通过添加Visual Studio安装程序来解决。 "Core Tools for Visual C++ Mobile Development" which is in the branch "Visual C++ for Cross Platform Mobile Development". “用于跨平台移动开发的Visual C ++”分支中的“用于Visual C ++移动开发的核心工具”。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM