# 5.1 Error when creating new C++ template project

**URL:** <https://forums.unrealengine.com/t/5-1-error-when-creating-new-c-template-project/691932>\
**Category:** C++\
**Tags:** unreal-engine, UE5-0, CPP, question\
**Created:** [November 16, 2022, 11:20am UTC](https://forums.unrealengine.com/t/5-1-error-when-creating-new-c-template-project/691932 "2022-11-16T11:20:36Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Onoa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Onoa](https://forums.unrealengine.com/u/Onoa)\
**Post date:** [November 28, 2022, 2:18am UTC](https://forums.unrealengine.com/t/5-1-error-when-creating-new-c-template-project/691932/11 "2022-11-28T02:18:56Z")

</div>

This is what fixed it for me:

> [@My c++ project fails to load, but blueprints works fine in UE5](https://forums.unrealengine.com/t/my-c-project-fails-to-load-but-blueprints-works-fine-in-ue5/695325/8):
>
> I am using VS 2022 - 17.4.1 These are the installed components And options [image] [image] My Windows version is 10.0.22621 When I was trying to fix the issue I noticed, that my .NET was installed in C:\programs\dotnet and i still had an old sdk version in C:\programs (x86)\dotnet. I then copied the newer sdk over. Maybe that will fix the problem for you aswell.

---

_[View the full topic](https://forums.unrealengine.com/t/5-1-error-when-creating-new-c-template-project/691932)._
