Visual Studio 2013 (XAML?) Designer 在所有 Windows Phone 项目上崩溃,即使在获得开发人员许可证后也是如此 [英] Visual Studio 2013 (XAML?) Designer crash on all Windows Phone projects even after aquiring developer license
问题描述
我的设计师开始崩溃,即使是在干净的项目上.错误信息如下:
My designer started to crash, even on clean projects. The error message is as follows:
System.Exception
Package failed updates, dependency or conflict validation.
Windows cannot install package App.afbb198c1.a50af.a4b90.aa065.a08732a9e43b0 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.120.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.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.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()
更新 project->store->developer license
没有帮助.对此有什么办法?
renewing the project->store->developer license
does not help. What can be done about this?
事件日志中没有关于任何事件的其他信息.
There is no additional information in the Event Log about any of the happenings.
推荐答案
您似乎缺少一些包,您需要查看 Nuget 并查看缺少哪些包.或者使用 NuGet,您可以使用命令行恢复解决方案中的所有包.
It looks like you are missing some packages, you need to look into Nuget and see what packages are missing. Or with NuGet you can restore all packages in the solution using the command line.
nuget restore YourSolution.sln
或者重新安装当前解决方案的ALL PROJECTS中的所有包:
Or Reinstall all packages in ALL PROJECTS of the current solution:
Update-Package -Reinstall
重新安装当前解决方案的 SPECIFIC PROJECT 中的所有包
Reinstall all packages in SPECIFIC PROJECT of the current solution
Update-Package -ProjectName 'YourProjectNameGoesHere' -Reinstall
这篇关于Visual Studio 2013 (XAML?) Designer 在所有 Windows Phone 项目上崩溃,即使在获得开发人员许可证后也是如此的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!