Description

Attempting to use the Rebuild option in Visual Studio will fail to build the project. It instead produces a message that "Epic was unexpected".

Steps to Reproduce
  1. Launch UE4Editor from the launcher
  2. Create a new Code project
  3. When the project opens, add a new class based on actor
  4. When the class opens in Visual Studio, right click on the project name in solution explorer
  5. After right click select Rebuild

Result:
Build fails - Output message added to Callstack section

Expected:
Files are updated and project builds all source code

Repro Rate:
4/7

Callstack

1>------ Rebuild All started: Project: MyProject14, Configuration: Development_Editor x64 ------
1> \Epic was unexpected at this time.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(42,5): error MSB3073: The command ""C:\Program Files (x86)\Epic Games\4.11\Engine\Build\BatchFiles\Rebuild.bat" MyProject14Editor Win64 Development "F:\Unreal Projects\MyProject14\MyProject14.uproject" -waitmutex -2015" exited with code 255.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Fixed
Fix Commit2951171
Main Commit3023490
Release Commit2951171
CreatedApr 19, 2016
ResolvedApr 21, 2016
UpdatedSep 23, 2019
View Jira Issue