Visual Studio 2013(XAML?)设计器在所有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->开发人员许可证
没有帮助。可以做什么?
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
或重新安装当前解决方案的所有项目中的所有软件包:
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?)设计器在所有Windows Phone项目上崩溃,即使获得开发人员许可证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!