Skip to content

Instantly share code, notes, and snippets.

@slonopotamus
Last active August 6, 2021 10:35
Show Gist options
  • Save slonopotamus/98195ce26e4b06822466309a5c04df90 to your computer and use it in GitHub Desktop.
Save slonopotamus/98195ce26e4b06822466309a5c04df90 to your computer and use it in GitHub Desktop.
Batch file to install Visual Studio for Unreal Engine 5 development
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