Unable to generate C++ project after upgrading to Visual Studio 17.12 [blocking]

I have summarized some recent issues and solutions that have arisen due to the update of VS2022.

1、 Unable to create C++project; C++compiled project suddenly encountered a compilation error… Do not use NuNet Manager to fix warning vulnerabilities. Once fixed, uninstall VS2022 and reinstall it. Ignore NuGet warning prompts after reinstallation. Verify UE.

2、 UE5.2 UE5.3 cannot be packaged, prompt message appears“ Detected compiler newer than Visual Studio 2022, please update min version checking in WindowsPlatformCompilerSetup.h“

(1). Open Visual Studio installer ->Modify ->individual components to install individual components separately. Install early versions of MSVC, and the highest packaged compiled version of UE5.2 is MSVC 14.36.32532

(2). Modify the configuration file ‘% appdata% \ Unreal Engine \ Unreal BuildTool \ BuildConfiguration. xml’


<?xml version="1.0" encoding="utf-8" ?>

<Configuration xmlns=" https://www.unrealengine.com/BuildConfiguration ">

<WindowsPlatform>

<CompilerVersion>14.36.32532</CompilerVersion>

<ToolchainVersion>14.36.32532</ToolchainVersion>

</WindowsPlatform>

</Configuration>

Then save it.

2 Likes