Compilation of AutomationTool fails

I tried to package the VehicleGame sample project with RunUAT but I get an error on AutomationTool, so I tried to compile it. AutomationToolLauncher compiles ok, but AutomationTool gives the following error:

14>C:\Luca\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs(25,13,25,23): error CS0246: The type or namespace name ‘ErrorCodes’ could not be found (are you missing a using directive or an assembly reference?)
14>C:\Luca\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs(25,37,25,47): error CS0103: The name ‘ErrorCodes’ does not exist in the current context
14>C:\Luca\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs(37,103,37,128): error CS0117: ‘InternalUtils’ does not contain a definition for ‘ExecutingAssemblyLocation’
14>C:\Luca\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs(49,45,49,62): error CS0117: ‘InternalUtils’ does not contain a definition for ‘ExecutableVersion’
14>C:\Luca\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs(53,49,53,57): error CS0407: ‘void Program.MainProc(object)’ has the wrong return type
14>C:\Luca\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs(68,34,68,44): error CS0103: The name ‘ErrorCodes’ does not exist in the current context

I’m using Visual Studio 2015 Update 1, and Unreal Engine 4.10 built from sources using the 4.10 branch updated few hours ago.

Talad,

Could you please upload your error output logs as a .txt file? Also let me know whether or not this occurs in 4.11 Preview 8.

Thanks!

Hi and thanks for checking out this questions.

I’ve solved the problem by compiling AutomationToolLauncher and AutomationTool in “Development” mode. I was compiling it in “DebugGame” and for some reason it was not working properly.