Visual Studio 2017在启动时崩溃显示一些依赖包错误 [英] Visual studio 2017 crash on startup show some dependent package error
本文介绍了Visual Studio 2017在启动时崩溃显示一些依赖包错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试启动VS 2017时,会抛出一些错误的包错误,说明出错了。
错误日志:
When I am trying to launch VS 2017, is throwing some missing package error stating "Something went wrong".
Error Log:
[2544:0006][2018-06-01T11:21:08] Error 0x80131500: The dependent package of 'Microsoft.VisualStudio.Product.Enterprise,version=15.7.27703.2018' cannot be found: Component.Redgate.SQLPrompt.VsPackage,version=9.1.12.5083. at Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.FindDependentPackages(Dependency dependency, DependencyComparer comparer, Dictionary2 packageIndex,
IPackage holder) at
Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraphRecursive(IPackage
graphRoot, DependencyNode node, DependencyComparer comparer,
Dictionary2 packageIndex, Dictionary2 nodeIndex, Boolean splitNodes)
at
Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraphCore(IPackage
root, IEnumerable1 packages, DependencyComparer comparer, Dictionary2 packageIndex, Dictionary2 nodeIndex, Boolean splitNodes, DependencyCollection deprecated) at Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraph(IPackage root, IEnumerable`1 packages, Boolean isUpdate, IDependencyComparisonSeed seed, DependencyCollection deprecated) at Microsoft.VisualStudio.Setup.Engine.GetDependencyGraph(Product product) at Microsoft.VisualStudio.Setup.Engine.TryBuildDependencyGraph(Product product, Exception& error, Boolean overwrite, ITelemetryOperation telemetryOperation) [2544:0006][2018-06-01T11:21:08] Error 0x80131500: The dependent package of 'Microsoft.VisualStudio.Product.Enterprise,version=15.7.27703.2018' cannot be found: Component.Redgate.SQLPrompt.VsPackage,version=9.1.12.5083. at Microsoft.VisualStudio.Setup.Engine.CreateInstallOperation(Product product, String destination, ExecuteAction action, ITelemetryOperation telemetryOperation) at Microsoft.VisualStudio.Setup.Engine.Repair(CancellationToken token)
我的尝试:
>>清洁缓存
>>清洁临时文件
>>重启VS
>>重新启动系统
What I have tried:
>> Cleaning cache
>> Cleaning Temporary files
>> Restarting VS
>> Restarting System
推荐答案
T无法启动或修复,但经过漫长而疲惫的研究,我愚蠢的事情对我有用。
我选择修改选项,然后再次修改以修复所选的包。一旦完成,一切看起来都不错。
T wasn't able to launch or Repair but after a long and exhausted research, I silly thing worked for me.
I choose to modify option and then again modify to repair selected packages. Once Done everything looks good.
这篇关于Visual Studio 2017在启动时崩溃显示一些依赖包错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文