Hi all, I’ve been trying (and failing) to build UE5 from source off branch 5.2 (release failed for others reasons) but can’t get past the GenerateProjectFiles.bat step. I’ve successfully checked the project out and ran Setup.bat without seeing any errors or other issues, but when I run GenerateProjectFiles.bat I get:
Setting up Unreal Engine project files...
Using bundled DotNet SDK version: 6.0.302 Building UnrealBuildTool...
Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET
C:\ue-ws\UnrealEngine\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj : error MSB4236: The SDK 'Microsoft .NET.Sdk' specified could not be found. Build FAILED.
Things I’ve tried so far:
- Fully wiping the downloaded files with
git clean -xdfand re-running Setup.bat - Installing basically every single sdk/package in the Visual Studio installers for both community editions 2019 and 2022
- Locating the exact SDK bundled in the project (
6.0.302) and downloading/installing that as a standalone (confirmed existing withdotnet --list-sdks) - Added a
globals.jsonfile to explicitly declare the bundled SDK version as a build dependency
Nothing changes the error message. Anyone have suggestions on what else I could try?

