# Packaging error 'detected compiler newer than visual studio 2022' - beginner

**URL:** <https://forums.unrealengine.com/t/packaging-error-detected-compiler-newer-than-visual-studio-2022-beginner/2174644>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [December 5, 2024, 8:09pm UTC](https://forums.unrealengine.com/t/packaging-error-detected-compiler-newer-than-visual-studio-2022-beginner/2174644 "2024-12-05T20:09:36Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Arodi007](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arodi007/32/1022275_2.png) [@Arodi007](https://forums.unrealengine.com/u/Arodi007)\
**Post date:** [December 8, 2024, 1:46pm UTC](https://forums.unrealengine.com/t/packaging-error-detected-compiler-newer-than-visual-studio-2022-beginner/2174644/9 "2024-12-08T13:46:32Z")

</div>

Go to the folder: `%AppData%\Unreal Engine\UnrealBuildTool` (copy paste and enter)

Delete the file BuildConfiguration.xml, this should reset the visual studio toolchain version.

Otherwise:

- delete the msvc 14.42
- or manually write the config like on this [page](https://forums.unrealengine.com/t/ue5-3-cannot-build-project/2133106/3)

---

_[View the full topic](https://forums.unrealengine.com/t/packaging-error-detected-compiler-newer-than-visual-studio-2022-beginner/2174644)._
