"The project could not be compiled"

So I downloaded UE5. When I create a project with Blueprint, it works just fine. However if attempt to start a Blank project with C++ it has this error.

Running C:/Program Files/Epic Games/UE_5.2/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“C:/Users/ColeB/OneDrive/Documents/Unreal Projects/UE101C/UE101C.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Development Win64 -Project=“C:/Users/ColeB/OneDrive/Documents/Unreal Projects/UE101C/UE101C.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\ColeB\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for UE101CEditor (no existing makefile)
Unable to instantiate module ‘SwarmInterface’: Could not find NetFxSDK install dir; this will prevent SwarmInterface from installing. Install a version of .NET Framework SDK at 4.6.0 or higher.
(referenced via Target → Launch.Build.cs → SessionServices.Build.cs → Core.Build.cs → Virtualization.Build.cs → SourceControl.Build.cs → RenderCore.Build.cs → RHI.Build.cs → D3D11RHI.Build.cs → Engine.Build.cs → UnrealEd.Build.cs)

I read it and downloaded the latest .Net 7.0 for my specific pc. x64 and Windows. The error still occurs though. Please help

Hey there @IcyColdBreezy420! Welcome to the community! When modifying your Visual Studio install, try selecting 4.6.1 or 4.6.2 and see if it will build. Please let me know if this helps!

Yeah I did exactly this and my problem was fixed. Thank you very much!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.