Attempting to use Rebuild / Clean fails to compile. VS output shown in callstack.

Steps to Reproduce
  1. Open UE4 Editor
  2. Create empty C++ project
  3. When the project opens in Visual Studio, right click the project name and select Rebuild

Compile fails (VS Ouptut in Callstack field)

1>------ Rebuild All started: Project: MyProject4, Configuration: Development_Editor x64 ------
1>  Cleaning MyProject4Editor Binaries...
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1610,5): warning : The referenced project '..\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj' does not exist. [D:\Epic Games\4.14\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj]
1>CSC : error CS2001: Source file 'D:\Epic Games\4.14\Engine\Source\Programs\UnrealBuildTool\..\DotNETCommon\MetaData.cs' could not be found. [D:\Epic Games\4.14\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj]
1>EXEC : Clean error : Failed to build UnrealBuildTool.
1>  Press any key to continue . . .
1>  Compiling game modules for hot reload
1>  Target is up to date
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(42,5): error MSB3073: The command ""D:\Epic Games\4.14\Engine\Build\BatchFiles\Rebuild.bat" MyProject4Editor Win64 Development "D:\UnrealProjects\MyProject4\MyProject4.uproject" -waitmutex" exited with code -1.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Have Comments or More Details?

Head over to the existing AnswerHub thread and let us know what's up.

Login to Vote

ComponentBuildFarm - Support
Affects Versions4.14
Target Fix4.14
Fix Commit3178145
Release Commit3178145
CreatedOct 20, 2016
ResolvedOct 28, 2016
UpdatedSep 23, 2019