# Error LNK2019: unresolved external symbol "bool GIsGameAgnosticExe"

**URL:** <https://forums.unrealengine.com/t/error-lnk2019-unresolved-external-symbol-bool-gisgameagnosticexe/465612>\
**Category:** Platform & Builds\
**Tags:** error, lnk2019, Packaging-Error, unreal-engine, question\
**Created:** [May 22, 2020, 9:38am UTC](https://forums.unrealengine.com/t/error-lnk2019-unresolved-external-symbol-bool-gisgameagnosticexe/465612 "2020-05-22T09:38:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sneek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sneek](https://forums.unrealengine.com/u/Sneek)\
**Post date:** [May 22, 2020, 9:38am UTC](https://forums.unrealengine.com/t/error-lnk2019-unresolved-external-symbol-bool-gisgameagnosticexe/465612/1 "2020-05-22T09:38:01Z")

</div>

So I’ve been trying to package up my game but I always get an unresolved external symbol error. Cannot find any solutions online so any help would be appreciated.

[Full log file here](https://drive.google.com/open?id=1gsTUpFKtmyo7slDLOg3cX6ozowlPZBEt)

---

<div class="post-metadata">

**Author:** ![Sneek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sneek](https://forums.unrealengine.com/u/Sneek)\
**Post date:** [May 22, 2020, 4:09pm UTC](https://forums.unrealengine.com/t/error-lnk2019-unresolved-external-symbol-bool-gisgameagnosticexe/465612/2 "2020-05-22T16:09:17Z")

</div>

Figured out the issue - this was an upgraded project and some things were missing from .Target.cs file - specifically:

```
Type = TargetType.Game;
DefaultBuildSettings = BuildSettingsVersion.V2;
ExtraModuleNames.AddRange( new string[] { "<GameName>" } );
```

---

<div class="post-metadata">

**Author:** ![PhilBax](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PhilBax](https://forums.unrealengine.com/u/PhilBax)\
**Post date:** [November 3, 2020, 11:14pm UTC](https://forums.unrealengine.com/t/error-lnk2019-unresolved-external-symbol-bool-gisgameagnosticexe/465612/3 "2020-11-03T23:14:26Z")

</div>

Thank you! I was lacking the last line myself.
