Got "Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /nologo /verbosity:quiet" and can't generate project files

Hi guys, two days ago I was working fine with UE 4.27 source, but just a short while later I couldn’t generate project files for all projects, I tried reinstalling 4.27 source but nothing seems to change.

Building UnrealBuildTool in D:/UE_4.27_S/UnrealEngine-4.27.2…
Running: C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /nologo /verbosity:quiet “D:/UE_4.27_S/UnrealEngine-4.27.2/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj” /property:Configuration=Development /property:Platform=AnyCPU
Missing D:/UE_4.27_S/UnrealEngine-4.27.2/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe after build

What happened and how do I fix this? Thanks for your help.

2 Likes

if you have an antivirus, make sure it didn’t got quarantined.

I got the same problem after updating my microsoft visual studio version to the latest,
the UnrealBuildTool existed insider the Programs folder, there’s no additional UnrealBuildTool folder inside it, still no solution though..

I have the same problem :frowning: someone already have a solution?

I also encountered this problem. The new version of the launcher makes it impossible to download version 4.27. Additionally, when trying to regenerate the project files, the following error occurs:
“Missing UE_4.27/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe after build”

I also tried it on a secondary PC, and once the launcher is updated, everything breaks.

To make everything work, you need to downgrade the launcher.
Uninstall Epic Online Services and Epic Games Launcher (this will remove all installed versions of Unreal)
Then, download version 18.1.3 of the launcher from here: https://epic-games-launcher.en.softonic.com/versions
Once downloaded and installed, it will try to download the new version of the launcher and ask you to install it. Do not accept that update, and instead reinstall Unreal 4.
Once that’s done, you’ll be able to regenerate the project files.

Thanks for your help, the problem has been temporarily solved.

2 Likes

Having the same problem

getting this error when trying to generate VS project files:

Building UnrealBuildTool in C:/Unreal Engine/UE_4.26… Running: C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /nologo /verbosity:quiet “C:/Unreal Engine/UE_4.26/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj” /property:Configuration=Development /property:Platform=AnyCPU Missing C:/Unreal Engine/UE_4.26/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe after build

I’m guessing something broke on Epic’s side?

Thank U so much! It also works for me)

Works for me too. 25 December 2025. What the heck is going on and why is the Epic Launcher breaking Unreal Engine?! That’s so weird.

Hi there, I was facing the same error. Found a solution with google AI - after many attempts -
That’s steps works for me:
(considering that Unreal is installed on disk C on my computer)

Step 01: Take ownership of the folder:

Open the CMD as admin, then paste this commands:

takeown /f “C:\Unreal Engine\UE_4.27” /r /d n

enter. Wait for processing.

icacls “C:\Unreal Engine\UE_4.27” /grant Everyone:F /t

enter. Wait for processing. (I’m a brazilian guy, so I will leave this commentary here: If your Windows is in Portuguese, use Todos:F instead of Everyone:F)

attrib -r “C:\Unreal Engine\UE_4.27*.*” /s /d

enter. Wait for processing.

Step 2: Manually Build UnrealBuildTool (UBT)

I’m using visual studio 2022 and it is installed on C:\Program Files\Microsoft Visual Studio… If you have installed on different folder, may you will have to change the path.
If you don’t close the CMD yet, put these comand: (otherwise, open CMD again has admin)

“C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe” “C:\Unreal Engine\UE_4.27\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj” /property:Configuration=Development /property:Platform=AnyCPU /p:OutputPath=“C:\Unreal Engine\UE_4.27\Engine\Binaries\DotNET”

enter. Wait for processing.

Step 3: The Subfolder “Trick” (Compatibility Fix)

The UnrealVersionSelector looks for the executable in a subfolder, but if UBT runs from there, it fails to find the Engine Source. To fix this:

  1. Go to C:\Unreal Engine\UE_4.27\Engine\Binaries\DotNET.

  2. Create a new folder named UnrealBuildTool inside it.

  3. Copy (do not move) all the files recently generated in DotNET (the .exe and .dll files) into this new UnrealBuildTool subfolder.

    • Tip: Sort by “Date Modified” to find the newly created files easily.

**

Step 4: Register the Engine Installation**

  1. Navigate to C:\Unreal Engine\UE_4.27\Engine\Binaries\Win64.

  2. Locate UnrealVersionSelector.exe.

  3. Right-click it and Run as Administrator.

  4. Click Yes when asked to register the directory as an engine installation.

Step 5: Generate Project Files Manually

Run this final command to generate your .sln file. This bypasses the buggy context menu check:
(Again, run this command using CMD has admin)

“C:\Unreal Engine\UE_4.27\Engine\Binaries\DotNET\UnrealBuildTool.exe” -projectfiles -project=“D:/Path/To/YourProject/YourProject.uproject” -game -rocket -progress

Mine project has on disk D. Put the path of you own project.

And that’s it.