Visual Studio 2017安装完成并显示警告 [英] Visual Studio 2017 installation finishes with warnings
问题描述
您好
我全新安装Windows 10家庭版,然后开始安装Visual Studio 2017社区版。
I fresh install windows 10 home edition and then start to install Visual Studio 2017 Community Edition.
我只选择
- 通用Windows平台开发
- .net桌面开发
- asp.net和网站开发
但是"设置已完成,但有警告"。
but "setup completed with warnings".
I分享上面的日志文件。你能帮我解决一下如何前进
I share the log file above. could you please help me about how can i go forward
The product failed to install the listed workloads and components due to one or more package failures.
Incomplete workloads
Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26206.0)
Incomplete components
Universal Windows Platform tools (2.0) (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26206.0)
Universal Windows Platform tools for Cordova (2.0) (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.26206.0)
Universal Windows Platform tools for Xamarin (2.0) (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26206.0)
Windows 10 SDK (10.0.14393.0) (Microsoft.VisualStudio.Component.Windows10SDK.14393,version=15.0.26127.0)
You can search for solutions using the information below, modify your selections for the above workloads and components and retry the installation, or remove the product from your machine.
Following is a collection of individual package failures that led to the incomplete workloads and components above. To search for existing reports of these specific problems, please copy and paste the URL from each package failure into a web browser. If the issue has already been reported, you can find solutions or workarounds there. If the issue has not been reported, you can create a new issue where other people will be able to find solutions or workarounds.
Package 'Win10SDK_10.0.14393.795,version=10.0.14393.79501' failed to install.
Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Win10SDK_10.0.14393.795;PackageAction=Install;ReturnCode=-2146889721
Impacted workloads
Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26206.0)
Impacted components
Universal Windows Platform tools (2.0) (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26206.0)
Universal Windows Platform tools for Cordova (2.0) (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.26206.0)
Universal Windows Platform tools for Xamarin (2.0) (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26206.0)
Windows 10 SDK (10.0.14393.0) (Microsoft.VisualStudio.Component.Windows10SDK.14393,version=15.0.26127.0)
Log
C:\Users\emrek\AppData\Local\Temp\dd_setup_20170307010944_177_Win10SDK_10.0.14393.795.log
Details
Command executed: "c:\windows\syswow64\\windowspowershell\v1.0\powershell.exe" -NoLogo -NoProfile -ExecutionPolicy Unrestricted -InputFormat None -Command "& """C:\ProgramData\Microsoft\VisualStudio\Packages\Win10SDK_10.0.14393.795,version=10.0.14393.79501\WinSdkInstall.ps1""" -SetupExe sdksetup.exe -SetupLogFolder standalonesdk -PackageId Win10SDK_10.0.14393.795 -LogFile """C:\Users\emrek\AppData\Local\Temp\dd_setup_20170307010944_177_Win10SDK_10.0.14393.795.log""" -SetupParameters """/features OptionId.AvrfExternal OptionId.WindowsSoftwareDevelopmentKit OptionId.WindowsSoftwareLogoToolkit OptionId.NetFxSoftwareDevelopmentKit /quiet /norestart"""; exit $LastExitCode"
Return code: -2146889721
Return code details: The hash value is not correct.
推荐答案
嗨朋友,
欢迎来到MSDN论坛。
根据日志,问题是由Win10SDK_10安装失败引起的.0.14393.795。请尝试下载独立SDK并进行安装。你可以从这里得到它:
https://开发人员.microsoft.com / zh-CN / windows / downloads / windows-10-sdk
此外,要分析有关此失败安装的详细错误信息,我需要你的安装日志帮助。请使用
http://aka.ms/vscollect 收集安装日志。使用它之后,你会在%temp%文件夹下找到vslogs.zip。请将文件上传到
https://onedrive.live.com/ 并在此处分享链接。
Besides, to analysis the detail error information about this failed installation, I need your help to the installation log. Please use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder. Please upload the file to https://onedrive.live.com/ and share the link here.
祝你好运,
Joyce
这篇关于Visual Studio 2017安装完成并显示警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!