Last active
August 6, 2021 10:35
-
-
Save slonopotamus/98195ce26e4b06822466309a5c04df90 to your computer and use it in GitHub Desktop.
Batch file to install Visual Studio for Unreal Engine 5 development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setlocal | |
powershell -NoProfile -ExecutionPolicy Bypass -Command "(New-Object System.Net.WebClient).DownloadFile('https://aka.ms/vs/16/release/vs_professional.exe', '%TEMP%/vs_professional.exe')" || goto :error | |
"%TEMP%/vs_professional.exe" --quiet --wait --nocache ^ | |
--locale en-US ^ | |
--add Microsoft.VisualStudio.Workload.NativeGame ^ | |
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ^ | |
--add Microsoft.VisualStudio.Component.Windows10SDK.19041 ^ | |
--add Microsoft.NetCore.Component.SDK ^ | |
|| goto :error | |
exit /b %ERRORLEVEL% | |
:error | |
pause | |
exit /b %ERRORLEVEL% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment