安装VS 2017后无法使VS 2015社区工作 [英] Cannot make VS 2015 Community work after VS 2017 being installed

查看:69
本文介绍了安装VS 2017后无法使VS 2015社区工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。


我安装了VS 2017 Enterprise(今天应用了最新更新)。对于这个版本,Oracle没有组件ODT,所以我不得不另外安装VS 2015。


但是当我试图运行后者时 - 我得到了一些关于缺少组件的错误。好吧,我按照某些线程中的指示制作/卸载/强制,重新启动,清理了注册表和14.0子文件夹。然后再次安装VS 2015社区,只选择基本组件
的东西 - 这对我来说实际上已经足够了。当我现在运行VS时 - 我得到的是"并排配置不一致"。错误。


好的 - 我看了一下事件查看器,发现问题与缺少coloader80.dll有关,如某些线程中所描述的那样与缺少vc_redist ***包有关)。好的 - 我已经为VS 2015下载了vc_redist ***。但它没有安装,因为
报告已经安装的新版本。 STUCK。


如何最终解决这个问题?


而且 - 不,我不会浪费另一天并卸载VS 2017检查它是否能解决问题。


更新1:从10.0 VS文件夹中获取此文件和其他报告的丢失文件(包括DLL和清单) - 现在又出现了另一个错误:


错误应用程序名称:PerfWatson2.exe,版本:14.0.25420.1,时间戳:0x576855a7

错误模块名称:KERNELBASE.dll,版本:6.3.9600.18202,时间戳:0x569e72bb



更新2:运行sfc / scannow,结果:


Windows资源保护发现损坏的文件但是无法解决其中的一些b $ b。详细信息包含在CBS.Log windir\Logs\CBS\CBS.log中。对于

示例C:\ Windows \ Logs \CBS \CBS.log。请注意,在脱机服务方案中,日志记录目前不是支持b $ b。


看着它 - 它的长度为131MB!我在这样的数据块中找不到什么错误!没有"错误"子串在那里。也许10.0文件夹中的文件版本不合适,我不知道。



更新3: 

运行  NetFxRepairTool - 它提出了一些建议:重新启动某些服务并使用安装程序(哪一个?)。然后它工作了大约半个小时,最后放弃了,说它无法修复一些错误并报告它会将
日志发送给微软(其中一堆)。

解决方案

嗨亚历山大,


欢迎来到MSDN论坛。


据我所知,您可以 以及Visual Studio的早期版本,包括Visual Studio 2015/2013/2012,
请检查:
Visual Studio 2017平台定位和兼容性


不兼容的问题。


既然您使用了命令sfc / scannow并发现了一些无法自动修复的问题,请尝试手动修复损坏的文件,我们可以按照:

使用系统文件Checker工具用于修复丢失或损坏的系统文件
,它看起来像是一个阻止VS安装的损坏的操作系统。顺便说一句,你的操作系统版本是什么?


< p style ="margin-bottom:12pt"> 在VS 2015安装过程中是否遇到任何安装错误或警告?对于错误消息"并排配置不一致",我们需要像这个博客一样挖掘
根本原因:
"应用程序无法启动,因为它的并排配置不正确。请参阅应用程序事件日志了解更多详情。"




最好的问候,


Sara


Hi.

I have VS 2017 Enterprise installed (and latest update applied today). There is no component ODT from Oracle for this version, so I had to install VS 2015 in addition.

But when I tried to run latter - I got some error about missing components. Well, I've made /uninstall /force, rebooted, cleaned the registry and 14.0 subfolders as instructed in some thread. Then installed VS 2015 Community again, selecting only basic component stuff - it's actually enough for me. When I run VS now - I'm getting "side-by-side configuration inconsistent" error.

OK - i took a look at Event Viewer and discovered the problem is related to missing coloader80.dll which as described in some thread is related to missing vc_redist*** package(s). OK - I've downloaded vc_redist*** for VS 2015. But it does not install because reports newer version(s) already installed. STUCK.

How to resolve this issue finally??

And - no, I am not going to waste another day and de-install VS 2017 to check if it would resolve the problem.

UPDATE 1: Took this and other reported missing files (both DLL and manifest) from 10.0 VS folder - now another error:

Faulting application name: PerfWatson2.exe, version: 14.0.25420.1, time stamp: 0x576855a7
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18202, time stamp: 0x569e72bb

UPDATE 2: Run sfc /scannow, result:

Windows Resource Protection found corrupt files but was unable to fix some
of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not
supported in offline servicing scenarios.

Looked at it - it's 131MB long! I can't find what's wrong in such chunk of data! There is no "error" substring there. Maybe files from 10.0 folder are not of proper version, I don't know.

UPDATE 3: 
Run NetFxRepairTool - it suggested a couple of thing: restarting some service and doing something with installer (which one?). Then it was working about half an hour and finally gave up, saying it cannot repair some errors and reported it would send the logs to Microsoft (a bunch of them).

解决方案

Hi Alexandis,

Welcome to the MSDN forum.

As far as I know, You can install and use Visual Studio 2017 alongside previous versions of Visual Studio, including Visual Studio 2015/2013/2012, please check this: Visual Studio 2017 Platform Targeting and Compatibility

I also tried to install the VS 2015 or VS 2013 after the VS 2017 already installed on the same computer (Win10), and those installations are successful without any incompatible issues.

Since you used the command sfc /scannow and found some issue that cannot auto fixed, please try to repair the corrupted files manually, we can follow this: Use the System File Checker tool to repair missing or corrupted system files, it looks like a corrupted OS that blocked the VS installation. BTW, what’s your OS version?

Did you meet any installation error or warning during the VS 2015 installation? For the error message "side-by-side configuration inconsistent", we need to dig the root cause like this blog: "The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail."

Best regards,

Sara


这篇关于安装VS 2017后无法使VS 2015社区工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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