Visual Studio 2017、2019 无法启动的解决方法

20190909

某天WIN10主机清理Visual Studio组件再重新安装,发现Visual Studio 2017无法打开,然后换2019也无解。下图是提示信息:

Visual Studio 2017、2019 无法启动的解决方法_第1张图片

Visual Studio 2017、2019 无法启动的解决方法_第2张图片

 

搜索以上信息,答案少的可怜,而且没有解决。百思不得其解,还一度以为是因为Visual Studio损坏,因为安装时有错误发生:

Error: Package 'Unity3d.x86,version=3.1,chip=x86' failed to download from 'https://go.microsoft.com/fwlink/?linkid=2080853'. WebClient download failed: 操作已超时。. Bits download failed: 找不到文件。. WinInet download failed: Function: InternetOpenUrl, HR: -2147012894, Message: Unknown error 12002, Signature: PackageId=Unity3d.x86;PackageAction=DownloadPackage;ReturnCode=0x80131500
UpdateLayout progress: 99.00%
Error: 设置已完成,但出现了错误。
Error: 发生一个或多个错误。

 

Something went wrong with the install.

You can troubleshoot the package failures by:

    1. Search for solutions using the search URL below for each package failure
    2. Modify your selections for the affected workloads or components and then retry the installation
    3. Remove the product from your machine and then install again

If the issue has already been reported on the Developer Community, you can find solutions or workarounds there. If the issue has not been reported, we encourage you to create a new issue so that other developers will be able to find solutions or workarounds. You can create a new issue from within the Visual Studio Installer in the upper-right hand corner using the "Provide feedback" button.

================================================================================

Package 'Win10SDK_10.0.18362,version=10.0.18362.0' failed to install.
    Search URL
        https://aka.ms/VSSetupErrorReports?q=PackageId=Win10SDK_10.0.18362;PackageAction=Install;ReturnCode=-1073741819
    Details
        Command executed: "D:\ProgramData\Microsoft\VisualStudio\Packages\Win10SDK_10.0.18362,version=10.0.18362.0\winsdkinstaller.exe" SetupExe=winsdksetup.exe LogFile="C:\Users\***\AppData\Local\Temp\dd_setup_20190908102012_783_Win10SDK_10.0.18362.log" SetupLogFolder=windowssdk CeipSetting="on" ProgramFilesOrSharedDriveSdkPath="D:\\Windows Kits\10" SetupParameters="/features OptionId.AvrfExternal OptionId.UWPManaged OptionId.WindowsSoftwareLogoToolkit OptionId.SigningTools OptionId.UWPLocalized OptionId.UWPCPP OptionId.DesktopCPPx64 OptionId.DesktopCPPx86 OptionID.DesktopCPPARM OptionID.DesktopCPPARM64 OptionId.MSIInstallTools /quiet /norestart"
        Return code: -1073741819
        Return code details: Unknown error (0xc0000005)
    Log
        C:\Users\***\AppData\Local\Temp\dd_setup_20190908102012_783_Win10SDK_10.0.18362.log
    Impacted workloads
        Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=16.2.29102.48)
        Game development with C++ (Microsoft.VisualStudio.Workload.NativeGame,version=16.2.29020.229)
        Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=16.2.29102.48)
    Impacted components
        Universal Windows Platform tools (Microsoft.VisualStudio.ComponentGroup.UWP.Support,version=16.2.29003.222)
        Universal Windows Platform tools for Xamarin (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=16.2.29020.229)
        Windows 10 SDK (10.0.18362.0) (Microsoft.VisualStudio.Component.Windows10SDK.18362,version=16.1.28829.92)

 

尝试手动安装unity3d,异常依旧。

尝试手动安装Win10SDK_10.0.18362,下载速度非常非常慢,挂机一晚上终于安装成功。

然后试着打开Visual Studio 2019,熟悉的画面终于回来了:(◐ˍ◑)

Visual Studio 2017、2019 无法启动的解决方法_第3张图片

 

后来回忆了一下,好像是手动卸载Visual Studio 2017时顺便把WIN10SDK也卸掉了了了……(╬ ̄皿 ̄)=○#( ̄#)3 ̄) 

 

以上

顺便把资源挂出来:

度盘:https://pan.baidu.com/s/1YWE3SgfcT2rU4DTgVxkVxw
提取码:cz6n 

 

Visual Studio 2017、2019离线下载教程参考:《Visual studio 2017及2019下载离线安装包方法》

 

PS:

1、使用MSVBCRT.AIO、驱动人生、DirectX Repair、dxwebsetup补齐缺少的环境组件。

2、使用RevoUnin完全卸载Visual Studio再重新安装。

你可能感兴趣的:(软件,Visual,Studio,无法启动,2017,2019)