# 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:** 2

<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 6, 2024, 6:15pm UTC](https://forums.unrealengine.com/t/packaging-error-detected-compiler-newer-than-visual-studio-2022-beginner/2174644/2 "2024-12-06T18:15:34Z")

</div>

You will need to install the correct MSVC version for ue5.1  
Usually it MSVC 14.34 from your visual studio installer. (as mentioned [here](https://dev.epicgames.com/documentation/en-us/unreal-engine/setting-up-visual-studio-development-environment-for-cplusplus-projects-in-unreal-engine?application_version=5.2)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/3/6233b406f8d054f28aa90f09d9785ffc6423265e.png)

And make sure you have the correct windows sdk for your exact windows 11 build version(that you can check with start\>search winver)

You might also want to uninstall any old visual studio left over.

Any third party plugin that are not from epic will require a package with visual studio even if you dont have any cpp files.

---

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