Visual Studio hangs at installing the Windows 10 SDK. To work around the issue, execute in a command prompt:
"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 -SetupParameters """/features OptionId.AvrfExternal OptionId.WindowsSoftwareDevelopmentKit OptionId.WindowsSoftwareLogoToolkit OptionId.NetFxSoftwareDevelopmentKit /quiet /norestart"""; exit $LastExitCode"
Unfortunately, the UI lacks a way to reinstall or install dependent packages such that users have to install packages using the package manager console.
First, navigate to Tools
→NuGet Package Manager
→Package Manager Console
and then issue the following within the pane that opens up (more than likely, atthe bottom of the Visual Studio workspace):
Update-Package -reinstall
Visual Studio will now start installing the dependent packages.
For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.