# Issue with includes after migrating from 4.18 to 4.25

**URL:** <https://forums.unrealengine.com/t/issue-with-includes-after-migrating-from-4-18-to-4-25/466059>\
**Category:** Community & Industry Discussion\
**Tags:** migration, include, UE4-18, migrate, unreal-engine, UE4-25, question\
**Created:** [May 31, 2020, 4:49pm UTC](https://forums.unrealengine.com/t/issue-with-includes-after-migrating-from-4-18-to-4-25/466059 "2020-05-31T16:49:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Visor90](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Visor90](https://forums.unrealengine.com/u/Visor90)\
**Post date:** [May 31, 2020, 4:49pm UTC](https://forums.unrealengine.com/t/issue-with-includes-after-migrating-from-4-18-to-4-25/466059/1 "2020-05-31T16:49:14Z")

</div>

Say we have MyProject as project name.

In 4.18 I’d do

```
#include "Characters/BaseCharacter.h"

```

where the implied path is something like **C:/Unreal/MyProject\_418/Source/MyProject/Characters/BaseCharacter.h**

In 4.25, that no longer works. It gives me an error telling me it can’t find the specified file. Instead, what does work is

```
#include "MyProject/Characters/BaseCharacter.h"

```

I need someone to either confirm or refute the fact that this is how it’s supposed to be. Perhaps something got messed up during the upgrade process in my case.

---

<div class="post-metadata">

**Author:** ![Ali\_TeamRevived](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_teamrevived/32/623450_2.png) [@Ali\_TeamRevived](https://forums.unrealengine.com/u/Ali_TeamRevived)\
**Post date:** [May 31, 2020, 5:30pm UTC](https://forums.unrealengine.com/t/issue-with-includes-after-migrating-from-4-18-to-4-25/466059/2 "2020-05-31T17:30:13Z")

</div>

I don’t think you need your project name in include. Clean your solution files and do a “Generate visual studio project files” via your .uproject file. Maybe that helps.

---

<div class="post-metadata">

**Author:** ![Visor90](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Visor90](https://forums.unrealengine.com/u/Visor90)\
**Post date:** [May 31, 2020, 6:50pm UTC](https://forums.unrealengine.com/t/issue-with-includes-after-migrating-from-4-18-to-4-25/466059/3 "2020-05-31T18:50:35Z")

</div>

That was the first thing I tried. Unfortunately, to no avail.

---

<div class="post-metadata">

**Author:** ![TonyStarick](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TonyStarick](https://forums.unrealengine.com/u/TonyStarick)\
**Post date:** [May 31, 2020, 9:11pm UTC](https://forums.unrealengine.com/t/issue-with-includes-after-migrating-from-4-18-to-4-25/466059/4 "2020-05-31T21:11:18Z")

</div>

Not just solution file, clear every thing from Intermediate ,Saved ,Binaries,Build and also .vs folders (They are safe to delete and can be regenerated) . Then generate visual studio project files and rebuild your project. This helped me many times after upgrading.

I hope this helps you too, Cheers!
