# VS2022 Microsoft error

**URL:** <https://forums.unrealengine.com/t/vs2022-microsoft-error/2684742>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [December 13, 2025, 4:28pm UTC](https://forums.unrealengine.com/t/vs2022-microsoft-error/2684742 "2025-12-13T16:28:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user\_e90240210e5af4fa72047ea4569ac32606c077fed089100fd38d4d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@user\_e90240210e5af4fa72047ea4569ac32606c077fed089100fd38d4d](https://forums.unrealengine.com/u/user_e90240210e5af4fa72047ea4569ac32606c077fed089100fd38d4d)\
**Post date:** [December 13, 2025, 4:28pm UTC](https://forums.unrealengine.com/t/vs2022-microsoft-error/2684742/1 "2025-12-13T16:28:30Z")

</div>

Hey, how can i fix this?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/e/1/7e12f8b73c5b69b3afe80f77ac3a22e05f059f67.png)

---

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1052483_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [December 15, 2025, 4:24pm UTC](https://forums.unrealengine.com/t/vs2022-microsoft-error/2684742/2 "2025-12-15T16:24:20Z")

</div>

Hello there @user_e90240210e5af4fa72047ea4569ac32606c077fed089100fd38d4d !

From your screenshot, you are getting multiple errors tied to **“Package was restored using .NETFramework v4.x instead of the project target framework net8.0. This package may not be fully compatible with your project”**.

Meaning, there are packs trying to use .NET4, but the project is targetting .NET8, which is expected, as .NET8 is required for UE work. In order to fix this, I would try restoring the NuGet packs at **Project \> Manage NuGet Packages**.

After that, please clear your project’s cache, via navigating to it’s main directory, and deleting folders **.vs, Intermediate, Binaries, and DerivedDataCache**. Then, right click your .uproject file and select “Generate Visual Studio Project Files”, and allow your project to rebuild.
