2017-06-05 179 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都在運作。