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

And that’s a win.

Steps:

  • Install Unreal 5.4.4
  • Install VisualStudio 17.12 for unreal (.Net desktop dev, Desktop dev C++, Windows app dev, Game dev C++)
  • Extra components :
    • Compilers, build tools:
      • MVSC v143 - VS 2022 ARM build tools (v14.38 - 17.8)
      • MVSC v143 - VS 2022 ARM64/ARM64EC build tools (v14.38 - 17.8)
      • MVSC v143 - VS 2022 x64/x86 build tools (v14.38 - 17.8)
    • SDKs, libraries:
      • C++ v14.38 (17.18) ALT for v143 build tools (x86 & x64)
      • C++ v14.38 (17.18) MFC for v143 build tools (x86 & x64)
        (the extar libs can also be installed automatically once you open VS and click on the notification “Install extar module for your project” at the top right corner)
  • locate % appdata%\Unreal Engine\Unreal BuildTool\BuildConfiguration. xml and force the compiler configuration with these lines:
<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
	<WindowsPlatform>
		<CompilerVersion>14.38.33130</CompilerVersion>
		<ToolchainVersion>14.38.33130</ToolchainVersion>
	</WindowsPlatform>
</Configuration>

thanks a lot to @villinx for the explanations!

15 Likes