# ERROR: Couldn't find target rules file for target 'UnrealHeaderTool' in rules assembly 'UE4ModuleRules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

**URL:** <https://forums.unrealengine.com/t/error-couldnt-find-target-rules-file-for-target-unrealheadertool-in-rules-assembly-ue4modulerules-version-0-0-0-0-culture-neutral-publickeytoken-null/339633>\
**Category:** Getting Started & Setup\
**Tags:** command, unreal-engine, question\
**Created:** [November 25, 2015, 9:35am UTC](https://forums.unrealengine.com/t/error-couldnt-find-target-rules-file-for-target-unrealheadertool-in-rules-assembly-ue4modulerules-version-0-0-0-0-culture-neutral-publickeytoken-null/339633 "2015-11-25T09:35:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_976db221](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_976db221](https://forums.unrealengine.com/u/anonymous_user_976db221)\
**Post date:** [November 25, 2015, 9:35am UTC](https://forums.unrealengine.com/t/error-couldnt-find-target-rules-file-for-target-unrealheadertool-in-rules-assembly-ue4modulerules-version-0-0-0-0-culture-neutral-publickeytoken-null/339633/1 "2015-11-25T09:35:48Z")

</div>

Hi,

During building via command I get the following error:

ERROR: Couldn’t find target rules file for target ‘UnrealHeaderTool’ in rules assembly ‘UE4ModuleRules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.

This is a the log in more detail:

008UnrealBuildTool: ERROR: Couldn’t find target rules file for target ‘UnrealHeaderTool’ in rules assembly ‘UE4ModuleRules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.

008UnrealBuildTool: Location: C:\Program Files\Epic Games\4.9\Engine\Intermediate\Build\BuildRules\UE4ModuleRules.dll  
008UnrealBuildTool: Target rules found:  
008UnrealBuildTool: UE4Editor - C:\Program Files\Epic Games\4.9\Engine\Source\UE4Editor.Target.cs  
008UnrealBuildTool: UE4Game - C:\Program Files\Epic Games\4.9\Engine\Source\UE4Game.Target.cs  
008UnrealBuildTool: UnrealHeaderTool failed for target ‘Editor’ (platform: Win64, module info: D:\ UnrealEngine\Project\Intermediate\Build\Win64\Editor\Development\UnrealHeaderTool.manifest).

Looks like it has to do with the UnrealHeaderTool.

The version of the editor that I’m using is 4.9

Any idea what might cause this?

Kind regards,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7183c1821](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7183c1821](https://forums.unrealengine.com/u/anonymous_user_7183c1821)\
**Post date:** [February 26, 2016, 2:51pm UTC](https://forums.unrealengine.com/t/error-couldnt-find-target-rules-file-for-target-unrealheadertool-in-rules-assembly-ue4modulerules-version-0-0-0-0-culture-neutral-publickeytoken-null/339633/2 "2016-02-26T14:51:22Z")

</div>

If you have a precompiled version Unreal from the Launcher, you probably need to add the `-Rocket` flag to the command.

More info: [What is "rocket" mode? - C++ - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?10948-What-is-quot-rocket-quot-mode)
