Problem for compiling UE5

Hello everyone, I have a problem with my unreal engine, when I create a new project, it give me this error: The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE_5.1/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“C:/Users//Documents/Unreal Projects/MyProject/MyProject.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Development Win64 -Project="C:/Users/
/Documents/Unreal Projects/MyProject/MyProject.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users****\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for MyProjectEditor (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)

Can you help me please ?

Hey there @lapatatemalefiqu! Welcome to the community! This portion of the error here seems to believe that you’re lacking the .NET Framework. What version of the Dotnet framework do you currently have installed? It must be over 4.6, however I recommend 4.8 at very minimum.

Hi, I actually use the dotnet 6.0 & dotnet 7.0, I will try with 4.8 as you recommend me, thanks you for the help.

You can also verify that the file it’s looking for is in it’s directory: NetFxSDK (which I believe is actually NetFxSDK10). However if this fails we may have to look a bit deeper into why its not finding it. Let me know how it goes!

I experienced this issue and I was able to resolve this by downloading the DEVELOPER version of .NET Framework.

1 Like