2017-06-05 46 views
1

安装VS 2015时,安装程​​序中断,进程终止。之后我再次成功运行安装程序。但是,该程序无法启动。点击图标什么也不做。我试着手动运行'devenv.exe',并得到这个消息:Visual Studio 2015不会启动:并排配置不正确

Program 'devenv.exe' failed to run: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detailAt line:1 char:1

使用sxstrace.exe,我得到了日志,这是巨大的。值得注意的是,这个多次出现:

INFO: Did not find the assembly in WinSxS.

,并与该消息结束:

ERROR: Cannot resolve reference coloader80.dll,processorArchitecture="X86",type="win32",version="1.0.0.0".

我试图修复安装以及卸载/重新安装。我也试过强制卸载([installer_file] /uninstall /force)。

我正在使用网络安装程序。

回答

1

问题是由于中断的安装程序而导致的Visual C++ Redistributable 2015安装中断。 Visual C++ Redistributable 2015未在程序和功能中显示,因此无法卸载它,甚至无法知道它已安装。但VS 2015的设置显然假设它已安装。

我使用this tool来查找和卸载Visual C++ Redistributable 2015.然后,我预先卸载VS 2015并重新安装(可能在重新启动后)。

我还卸载了Windows显示的所有其他版本的Visual C++ Redistributable,但这可能是不必要的。之后,我修复了VS 2017,以便安装Visual C++ Redistributable 2017。

现在VS 2017和VS 2015都在运作。