Skip to content

Commit 7dc08d4

Browse files
committed
Use Visual Studio 2022 installer
1 parent 5ee427f commit 7dc08d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ue4docker/dockerfiles/ue4-build-prerequisites/windows/install-prerequisites.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ if "%VISUAL_STUDIO_BUILD_NUMBER%" == "15" (
5757
)
5858

5959
@rem Install the Visual Studio Build Tools workloads and components we need
60-
@rem NOTE: We use the Visual Studio 2019 installer even for Visual Studio 2017 here because the old installer now breaks
60+
@rem NOTE: We use the Visual Studio 2022 installer even for Visual Studio 2019 and 2017 here because the old (2017) installer now breaks
6161
@rem NOTE: VS2019 Build Tools doesn't have 4.6.2 .NET SDK and what actually gets installed is 4.8
6262
@rem NOTE: Microsoft.NetCore.Component.SDK only exists for VS2019. And it is actually *needed* only for UE5
63-
curl --progress-bar -L "https://aka.ms/vs/16/release/vs_buildtools.exe" --output %TEMP%\vs_buildtools.exe || goto :error
63+
curl --progress-bar -L "https://aka.ms/vs/17/release/vs_buildtools.exe" --output %TEMP%\vs_buildtools.exe || goto :error
6464
%TEMP%\vs_buildtools.exe --quiet --wait --norestart --nocache ^
6565
--installPath C:\BuildTools ^
6666
--channelUri "https://aka.ms/vs/%VISUAL_STUDIO_BUILD_NUMBER%/release/channel" ^

0 commit comments

Comments
 (0)