Getting errors cannot find Unrealbuildtools

Hi,

I am using unreal engine since last 2 months at-least. I recently updated to 4.2 and have being using it.

Today while compiling my project in VS2013 i got an error

1>------ Build started: Project: UnrealBuildTool, Configuration: Development Any CPU ------
1>  UnrealBuildTool -> D:\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe
2>------ Build started: Project: MyProject, Configuration: Development_Editor x64 ------
2>  The system cannot find the file D:\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe.
========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

I tried rebuilding UE4.sln and got the same error

1>------ Build started: Project: UnrealBuildTool, Configuration: Development Any CPU ------
1>  UnrealBuildTool -> D:\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe
2>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------
2>  The system cannot find the file D:\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe.
========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

So I tried generating the project files by GenerateProjectFiles.bat of my existing engine

8572-capture.jpg

And at the end I tried creating a fresh installation and got this error

8573-capture1.jpg

What is wrong? I seems really frustrating.

Hi ,

It is possible that a .dll file may have become corrupted. Could you try downloading the dependencies for version 4.2 again and see if that helps this issue?

We received another report of the same issue from someone else. We will try to keep both posts updated, but I am linking to the other post just so you are aware of it.

I tried to delete the VS and trying to reinstall it again. Sadly I couldn’t find my old VS installer so I am will do ti today.

Tried recompiling the project got this error. Any idea what is this?

I found the error. If any one is getting similar errors it is due to the temporary files that were generated. And can be solved by deleting them.

problem solved by reinstalling VS

I have the same issue. And reinstalling VS didn’t solve it. Any other input?

Hi,

@, I just wanted to confirm that you have been able to get past the original error.

@anonymous_user_1768e113, are you seeing the original error message referring to the UnrealBuildTool, or the second error message in Visual Studio that mentioned seeing after reinstalling VS?

Second one, but I managed to solve it. Most Anti-virus detect UnrealBuildTool as a virus, it’s a total false-positive. Adding the folder to the exception list solved it.