# Build automation - build machine

**URL:** <https://forums.unrealengine.com/t/build-automation-build-machine/292801>\
**Category:** Platform & Builds\
**Tags:** build, unreal-engine, Packaging, UE4, question\
**Created:** [September 3, 2014, 7:01pm UTC](https://forums.unrealengine.com/t/build-automation-build-machine/292801 "2014-09-03T19:01:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JellyKnee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JellyKnee](https://forums.unrealengine.com/u/JellyKnee)\
**Post date:** [September 3, 2014, 7:01pm UTC](https://forums.unrealengine.com/t/build-automation-build-machine/292801/1 "2014-09-03T19:01:42Z")

</div>

I have put together a script that updates all of the code and content from source control and then builds it. The final piece of the puzzle is the packaging/deployment part.

I want to build packages just like I can in the editor - but I want to do that from the commandline. I can see that there is a “Cook” commandlet for cooking content - but there’s no matching “Package” commandlet.

How do I do this?

---

<div class="post-metadata">

**Author:** ![RPotter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RPotter](https://forums.unrealengine.com/u/RPotter)\
**Post date:** [September 28, 2014, 12:17am UTC](https://forums.unrealengine.com/t/build-automation-build-machine/292801/2 "2014-09-28T00:17:45Z")

</div>

There is a wiki page with details for doing that here:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b4c9ac1d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b4c9ac1d1](https://forums.unrealengine.com/u/anonymous_user_b4c9ac1d1)\
**Post date:** [September 20, 2018, 9:47pm UTC](https://forums.unrealengine.com/t/build-automation-build-machine/292801/3 "2018-09-20T21:47:55Z")

</div>

I get an error when trying to build my blueprints-only project:  
`"C:\Program Files\Epic Games\UE_4.20\Engine\Build\BatchFiles\RunUAT.bat" Build -project="C:\myproj.uproject" -platform=Win64`

`ERROR: Failed to build "C:\Program Files\Epic Games\UE_4.20\Engine\Source\Programs\AutomationTool\Scripts\UAT.proj": C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1656,5): error MSB4036: The "GetReferenceNearestTargetFrameworkTask" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin" directory. [C:\Program Files\Epic Games\UE_4.20\Engine\Source\Programs\AutomationTool\AllDesktop\AllDesktop.Automation.csproj]`
