Can't package!HEEELP

I’ve made a game with offical tutorial,and when I package the game,it appears:boldRunUAT.bat ERROR: AutomationTool was unable to run successfully.
Project.CopyBuildToStagingDirectory: ********** STAGE COMMAND STARTED **********
BuildCommand.Execute: ERROR: BUILD FAILED
Program.Main: ERROR: AutomationTool terminated with exception:
Program.Main: ERROR: Exception in AutomationScripts.Automation: Stage Failed. Missing receipt ‘TwinStickShooter-Win64-Development.target.xml’. Check that this target has been builtbold.

I wonder how to solve this?Heres all the log:

BUILD FAILED

Running AutomationTool…
Program.Main: CWD=C:\Program Files (x86)\Epic Games\4.10\Engine\Binaries\DotNET
Automation.ParseCommandLine: Parsing command line: BuildCookRun -project=C:/Users/Angle Wang/Documents/Unreal Projects/TwinStickShooter/TwinStickShooter.uproject -noP4 -clientconfig=Development -serverconfig=Development -nocompile -nocompileeditor -rocket -utf8output -platform=Win64 -cookonthefly -nokill -map= -compressed -stage -deploy -cmdline= -Messaging -device=Windows@DESKTOP-014KSCA -addcmdline=-SessionId=F35DEA8244388599E4719C899D12FCA3 -SessionOwner=AngleWang -SessionName=‘DESKTOP-014KSCA’ -run -nokill
Automation.Process: IsBuildMachine=False
Automation.Process: ShouldKillProcesses=False
Automation.Process: Setting up command environment.
CommandUtils.SetEnvVar: SetEnvVar uebp_EngineSavedFolder=C:/Program Files (x86)/Epic Games/4.10/Engine/Programs/AutomationTool/Saved
CommandUtils.DeleteDirectoryContents: DeleteDirectoryContents(C:/Program Files (x86)/Epic Games/4.10/Engine/Programs/AutomationTool/Saved/Logs)
WindowsHostPlatform.SetFrameworkVars: Setting .Net Framework environment variables.
WindowsHostPlatform.SetFrameworkVars: Supports64bitExecutables=True
WindowsPlatform.get_Compiler: WARNING: Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015.
WindowsHostPlatform.SetFrameworkVars: WindowsPlatform.CompilerVisualStudio2015
WindowsHostPlatform.SetFrameworkVars: WindowsSDKDir=C:\Program Files (x86)\Windows Kits\8.1
WindowsHostPlatform.SetFrameworkVars: BaseVSToolPath=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools
CommandEnvironment.SetupBuildEnvironment: WARNING: SetFrameworkVars failed. Assuming no compilation capability.
ProjectUtils.CleanupFolders: Cleaning up project rules folder
CommandUtils.DeleteDirectoryContents: DeleteDirectoryContents(C:\Program Files (x86)\Epic Games\4.10\Engine\Programs\AutomationTool\Saved\Rules)
Automation.Process: Compiling scripts.
ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading precompiled script DLLs
ScriptCompiler.LoadPreCompiledScriptAssemblies: Found 9 script DLL(s).
BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\Angle Wang\Documents\Unreal Projects\TwinStickShooter\TwinStickShooter.uproject
ProjectParams.ValidateAndLog: Project Params **************
ProjectParams.ValidateAndLog: AdditionalServerMapParams=
ProjectParams.ValidateAndLog: Archive=False
ProjectParams.ValidateAndLog: ArchiveMetaData=False
ProjectParams.ValidateAndLog: CreateAppBundle=True
ProjectParams.ValidateAndLog: BaseArchiveDirectory=C:\Users\Angle Wang\Documents\Unreal Projects\TwinStickShooter\ArchivedBuilds
ProjectParams.ValidateAndLog: BaseStageDirectory=C:\Users\Angle Wang\Documents\Unreal Projects\TwinStickShooter\Saved\StagedBuilds
ProjectParams.ValidateAndLog: Build=False
ProjectParams.ValidateAndLog: Cook=False
ProjectParams.ValidateAndLog: Clean=
ProjectParams.ValidateAndLog: Client=False
ProjectParams.ValidateAndLog: ClientConfigsToBuild=Development
ProjectParams.ValidateAndLog: ClientCookedTargets=TwinStickShooter
ProjectParams.ValidateAndLog: ClientTargetPlatform=Win64
ProjectParams.ValidateAndLog: Compressed=True
ProjectParams.ValidateAndLog: UseDebugParamForEditorExe=False
ProjectParams.ValidateAndLog: CookFlavor=
ProjectParams.ValidateAndLog: CookOnTheFly=True
ProjectParams.ValidateAndLog: CookOnTheFlyStreaming=False
ProjectParams.ValidateAndLog: UnversionedCookedContent=False
ProjectParams.ValidateAndLog: SkipCookingEditorContent=False
ProjectParams.ValidateAndLog: NumCookersToSpawn=0
ProjectParams.ValidateAndLog: GeneratePatch=False
ProjectParams.ValidateAndLog: CreateReleaseVersion=
ProjectParams.ValidateAndLog: BasedOnReleaseVersion=
ProjectParams.ValidateAndLog: DLCName=
ProjectParams.ValidateAndLog: DLCIncludeEngineContent=False
ProjectParams.ValidateAndLog: AdditionalCookerOptions=
ProjectParams.ValidateAndLog: DedicatedServer=False
ProjectParams.ValidateAndLog: DirectoriesToCook=
ProjectParams.ValidateAndLog: CulturesToCook=
ProjectParams.ValidateAndLog: EditorTargets=
ProjectParams.ValidateAndLog: Foreign=False
ProjectParams.ValidateAndLog: IsCodeBasedProject=True
ProjectParams.ValidateAndLog: IsProgramTarget=False
ProjectParams.ValidateAndLog: IterativeCooking=False
ProjectParams.ValidateAndLog: CookAll=False
ProjectParams.ValidateAndLog: CookMapsOnly=False
ProjectParams.ValidateAndLog: Deploy=True
ProjectParams.ValidateAndLog: IterativeDeploy=False
ProjectParams.ValidateAndLog: FastCook=False
ProjectParams.ValidateAndLog: LogWindow=False
ProjectParams.ValidateAndLog: Manifests=False
ProjectParams.ValidateAndLog: MapToRun=
ProjectParams.ValidateAndLog: NoClient=False
ProjectParams.ValidateAndLog: NumClients=0
ProjectParams.ValidateAndLog: NoDebugInfo=False
ProjectParams.ValidateAndLog: NoCleanStage=False
ProjectParams.ValidateAndLog: NoXGE=False
ProjectParams.ValidateAndLog: MapsToCook=
ProjectParams.ValidateAndLog: Pak=False
ProjectParams.ValidateAndLog: Package=False
ProjectParams.ValidateAndLog: NullRHI=False
ProjectParams.ValidateAndLog: FakeClient=False
ProjectParams.ValidateAndLog: EditorTest=False
ProjectParams.ValidateAndLog: RunAutomationTests=False
ProjectParams.ValidateAndLog: RunAutomationTest=
ProjectParams.ValidateAndLog: RunTimeoutSeconds=0
ProjectParams.ValidateAndLog: CrashIndex=0
ProjectParams.ValidateAndLog: ProgramTargets=
ProjectParams.ValidateAndLog: ProjectBinariesFolder=C:\Users\Angle Wang\Documents\Unreal Projects\TwinStickShooter\Binaries\Win64
ProjectParams.ValidateAndLog: ProjectBinariesPath=C:\Users\Angle Wang\Documents\Unreal Projects\TwinStickShooter\Binaries\Win64
ProjectParams.ValidateAndLog: ProjectGameExeFilename=C:\Users\Angle Wang\Documents\Unreal Projects\TwinStickShooter\Binaries\Win64\TwinStickShooter.exe
ProjectParams.ValidateAndLog: ProjectGameExePath=C:\Users\Angle Wang\Documents\Unreal Projects\TwinStickShooter\Binaries\Win64\TwinStickShooter.exe
ProjectParams.ValidateAndLog: Distribution=False
ProjectParams.ValidateAndLog: Prebuilt=False
ProjectParams.ValidateAndLog: Prereqs=False
ProjectParams.ValidateAndLog: NoBootstrapExe=False
ProjectParams.ValidateAndLog: RawProjectPath=C:\Users\Angle Wang\Documents\Unreal Projects\TwinStickShooter\TwinStickShooter.uproject
ProjectParams.ValidateAndLog: Rocket=True
ProjectParams.ValidateAndLog: Run=True
ProjectParams.ValidateAndLog: ServerConfigsToBuild=Development
ProjectParams.ValidateAndLog: ServerCookedTargets=
ProjectParams.ValidateAndLog: ServerTargetPlatform=Win64
ProjectParams.ValidateAndLog: ShortProjectName=TwinStickShooter
ProjectParams.ValidateAndLog: SignedPak=False
ProjectParams.ValidateAndLog: SignPak=
ProjectParams.ValidateAndLog: SkipCook=False
ProjectParams.ValidateAndLog: SkipCookOnTheFly=False
ProjectParams.ValidateAndLog: SkipPak=False
ProjectParams.ValidateAndLog: SkipStage=False
ProjectParams.ValidateAndLog: Stage=True
ProjectParams.ValidateAndLog: bUsesSteam=False
ProjectParams.ValidateAndLog: bUsesCEF3=False
ProjectParams.ValidateAndLog: bUsesSlate=True
ProjectParams.ValidateAndLog: bDebugBuildsActuallyUseDebugCRT=False
ProjectParams.ValidateAndLog: Project Params **************
Project.Cook: ********** COOK COMMAND STARTED **********
CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.10\Engine\Binaries\Win64\UE4Editor.exe “C:\Users\Angle Wang\Documents\Unreal Projects\TwinStickShooter\TwinStickShooter.uproject” -run=cook -cookonthefly -unattended -CrashForUAT -FORCELOGFLUSH -log -abslog=“C:\Users\Angle Wang\AppData\Local\Temp\C+Program+Files+(x86)+Epic+Games+4.10\Logs\Server.log” -SessionId=F35DEA8244388599E4719C899D12FCA3 -SessionOwner=AngleWang -SessionName=‘DESKTOP-014KSCA’
Project.Cook: Waiting a few seconds for the server to start…
Project.Cook: ********** COOK COMMAND COMPLETED **********
Project.CopyBuildToStagingDirectory: ********** STAGE COMMAND STARTED **********
BuildCommand.Execute: ERROR: BUILD FAILED
Program.Main: ERROR: AutomationTool terminated with exception:
Program.Main: ERROR: Exception in AutomationScripts.Automation: Stage Failed. Missing receipt ‘TwinStickShooter-Win64-Development.target.xml’. Check that this target has been built.
Stacktrace: 在 Project.CreateDeploymentContext(ProjectParams Params, Boolean InDedicatedServer, Boolean DoCleanStage)
在 Project.CopyBuildToStagingDirectory(ProjectParams Params)
在 BuildCookRun.DoBuildCookRun(ProjectParams Params)
在 BuildCommand.Execute()
在 AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
在 AutomationTool.Automation.Process(String[] CommandLine)
在 AutomationTool.Program.MainProc(Object Param)
在 AutomationTool.InternalUtils.RunSingleInstance(Action`1 Main, Object Param)
在 AutomationTool.Program.Main()
ProcessManager.KillAll: Trying to kill 1 spawned processes.
ProcessManager.KillAll: UE4Editor
ProcessManager.KillAll: Killing process: UE4Editor
ProcessResult.StopProcess: Process UE4Editor successfully exited.
Program.Main: AutomationTool exiting with ExitCode=Error_MissingExecutable
Domain_ProcessExit
copying UAT log files…
RunUAT.bat ERROR: AutomationTool was unable to run successfully.

Hello,

I am seeing this error message: WARNING: Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015.

Please ensure that you have the C++ content installed for Visual Studio 2015.

Here is a couple of articles that detail how to do this:

https://msdn.microsoft.com/en-us/library/60k1461a.aspx

After you have done this, if you are still getting errors, please post the new output log.

Have a great day

Thank you for answer the question! I’m sorry for my bad English,but after I installed Visual 2015 I meet another problem:When package the game,it says AutomationTool exiting with ExitCode=5,I also want to know how to solve this,thanks!
I’ll post the new log in attachment.link text

Here is the new error message I’m seeing. ERROR: The first include statement in source file ‘C:\Users\Angle Wang\Documents\Unreal Projects\TwinStickShooter\Source\TwinStickShooter\BaseCharacter.cpp’ is trying to include the file ‘TS_TutForLuisAndy.h’ as the precompiled header, but that file could not be located in any of the module’s include search paths.

You’ll have to take a look at your code and see if that file exists.