尝试修改Visual Studio 2017组件并安装时,我收到以下错误。
The product failed to install the listed workloads and components due to one or more package failures.
Incomplete workloads
Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26403.0)
Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26403.0)
Incomplete components
Universal Windows Platform tools (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26412.1)
Universal Windows Platform tools for Cordova (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.26403.0)
Universal Windows Platform tools for Xamarin (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26403.0)
Windows 10 SDK (10.0.15063.0) for UWP: C#, VB, JS (Microsoft.VisualStudio.Component.Windows10SDK.15063.UWP,version=15.0.26419.1)
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.15063.UWP,version=10.0.15063.19' failed to install.
Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Win10SDK_10.0.15063.UWP;PackageAction=Install;ReturnCode=15605
Impacted workloads
Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26403.0)
Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26403.0)
Impacted components
Universal Windows Platform tools (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26412.1)
Universal Windows Platform tools for Cordova (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.26403.0)
Universal Windows Platform tools for Xamarin (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26403.0)
Windows 10 SDK (10.0.15063.0) for UWP: C#, VB, JS (Microsoft.VisualStudio.Component.Windows10SDK.15063.UWP,version=15.0.26419.1)
Log
C:\Users\kusal\AppData\Local\Temp\dd_setup_20170807105817_001_Win10SDK_10.0.15063.UWP.log
Details
Command executed: "c:\windows\syswow64\\windowspowershell\v1.0\powershell.exe" -NonInteractive -NoLogo -NoProfile -ExecutionPolicy Bypass -InputFormat None "$ErrorActionPreference="""Stop"""; $VerbosePreference="""Continue"""; $ScriptPath="""C:\ProgramData\Microsoft\VisualStudio\Packages\Win10SDK_10.0.15063.UWP,version=10.0.15063.19\WinSdkInstall.ps1"""; $SetupExe="""winsdksetup.exe"""; $SetupLogFolder="""windowssdk"""; $PackageId="""Win10SDK_10.0.15063.UWP"""; $LogFile="""C:\Users\kusal\AppData\Local\Temp\dd_setup_20170807105817_001_Win10SDK_10.0.15063.UWP.log"""; $SetupParameters="""/features OptionId.AvrfExternal OptionId.UWPManaged OptionId.WindowsSoftwareLogoToolkit OptionId.SigningTools OptionId.UWPLocalized /quiet /norestart"""; (gc $ScriptPath | out-string) | Invoke-Expression; if (!$?) { exit 1603 } elseif ($LastExitCode) { exit $LastExitCode }"
Return code: 15605
Return code details: There was a problem downloading your product.
C:\ Users \ kusal \ AppData \ Local \ Temp \ dd_setup_20170807105817_001_Win10SDK_10.0.15063.UWP.log:
的错误日志Creating target folder C:\Users\kusal\AppData\Local\Temp\Win10SDK_10.0.15063.UWP_1205818002.
Launching 'winsdksetup.exe' with arguments '/features OptionId.AvrfExternal OptionId.UWPManaged OptionId.WindowsSoftwareLogoToolkit OptionId.SigningTools OptionId.UWPLocalized /quiet /norestart /Log "C:\Users\kusal\AppData\Local\Temp\windowssdk\dd_setup_20170807105817_001_Win10SDK_10.0.15063.UWP.winsdksetup.log"'.
Waiting for child process to terminate.
Child process terminated with exit code 15605.
Unknown exit code detected. Printing main log file:
答案 0 :(得分:0)
(1)当下载的安装程序文件损坏或在安装过程中出错时,会发生这种情况。
您可以跳过" Windows SDK"在安装/修改期间,单独安装SDK。从中下载SDK https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
(2)您的防病毒保护或防火墙也可能阻止安装。禁用并检查。