# C++ project could not be compiled \[Resolved\]

**URL:** <https://forums.unrealengine.com/t/c-project-could-not-be-compiled-resolved/231455>\
**Category:** Character & Animation\
**Tags:** unreal-engine, UE5-0\
**Created:** [May 27, 2021, 4:40am UTC](https://forums.unrealengine.com/t/c-project-could-not-be-compiled-resolved/231455 "2021-05-27T04:40:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ZioYuri78](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zioyuri78/32/1194615_2.png) [@ZioYuri78](https://forums.unrealengine.com/u/ZioYuri78)\
**Post date:** [May 27, 2021, 12:02pm UTC](https://forums.unrealengine.com/t/c-project-could-not-be-compiled-resolved/231455/2 "2021-05-27T12:02:39Z")

</div>

Same problem and i’m using VS2019 v16.10.0  
EDIT:  
Solved, is the old dear friend BuildConfiguration.xml file, deleted it and all compiled well.

> [@Issue packaging (Resolved)](https://forums.unrealengine.com/t/issue-packaging-resolved/231242/8):
>
> I figured out my particular issue and it’s highly uncommon, but incase someone is in the same boat: At some point, I added C:\Users\\<user\>\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml and hardcoded the compiler to VisualStudio2017. I did this because of some silly configuration I was figuring out with developing code plugins. Deleting the file worked, and probably is the correct path forward when developing on both UE4 and UE5 targets.

---

_[View the full topic](https://forums.unrealengine.com/t/c-project-could-not-be-compiled-resolved/231455)._
