# C++ Compile Error "Couldn't find target rules file for target"

**URL:** <https://forums.unrealengine.com/t/c-compile-error-couldnt-find-target-rules-file-for-target/342795>\
**Category:** Multiplayer & Networking\
**Tags:** error, unreal-engine, Multiplayer, shooter, CPP, question\
**Created:** [December 31, 2015, 11:18am UTC](https://forums.unrealengine.com/t/c-compile-error-couldnt-find-target-rules-file-for-target/342795 "2015-12-31T11:18:03Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![iKiWY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iKiWY](https://forums.unrealengine.com/u/iKiWY)\
**Post date:** [January 1, 2016, 10:11pm UTC](https://forums.unrealengine.com/t/c-compile-error-couldnt-find-target-rules-file-for-target/342795/21 "2016-01-01T22:11:05Z")

</div>

there were 2 \*\* on line 52…

---

<div class="post-metadata">

**Author:** ![iKiWY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iKiWY](https://forums.unrealengine.com/u/iKiWY)\
**Post date:** [January 1, 2016, 10:52pm UTC](https://forums.unrealengine.com/t/c-compile-error-couldnt-find-target-rules-file-for-target/342795/22 "2016-01-01T22:52:01Z")

</div>

Thanks, works now 😃  
But when I build the game (to the exe) it crashes on boot.

---

<div class="post-metadata">

**Author:** ![Roel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roel](https://forums.unrealengine.com/u/Roel)\
**Post date:** [August 19, 2018, 3:00pm UTC](https://forums.unrealengine.com/t/c-compile-error-couldnt-find-target-rules-file-for-target/342795/23 "2018-08-19T15:00:08Z")

</div>

I had this issue when creating projects on one of my computers. For some reason projects created on one of the computers create the following setting in the .uproject file (just open it with a text editor):

> “Enterprise”: true,  
> I removed the setting from the .uproject file and now it compiles.

---

<div class="post-metadata">

**Author:** ![RogueSheep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roguesheep/32/891970_2.png) [@RogueSheep](https://forums.unrealengine.com/u/RogueSheep)\
**Post date:** [April 8, 2019, 7:23pm UTC](https://forums.unrealengine.com/t/c-compile-error-couldnt-find-target-rules-file-for-target/342795/24 "2019-04-08T19:23:43Z")

</div>

I also succeeded in building again using @Roel’s instructions.

[Previous page](https://forums.unrealengine.com/t/c-compile-error-couldnt-find-target-rules-file-for-target/342795.md?page=1)
