Install Visual C++ 2019 Build Tools
TensorFlow has migrated to Visual C++ Build Tools 2019
See
@@ -116,11 +116,16 @@ $env:JAVA_HOME = $zulu_root
## Install Visual C++ 2017 Build Tools.
Write-Host "Installing Visual C++ 2017 Build Tools..."
-& choco install microsoft-build-tools
+& choco install visualstudio2017buildtools
& choco install visualstudio2017-workload-vctools
[Environment]::SetEnvironmentVariable("BAZEL_VC", "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC", "Machine")
$env:BAZEL_VC = [Environment]::GetEnvironmentVariable("BAZEL_VC", "Machine")
+## Install Visual C++ 2019 Build Tools.
+Write-Host "Installing Visual C++ 2019 Build Tools..."
+& choco install visualstudio2019buildtools
+& choco install visualstudio2019-workload-vctools
+
## Install Windows 10 SDK
## https://github.com/bazelbuild/continuous-integration/issues/768
& choco install windows-sdk-10.1
