I was running into build problems both with UE 5.6.0 and with VS 2022 default MFC App template. After many hours of trying to get just the right libraries installed, and the right path statements in the right place. A comment on one search result suggested that more lib’s are better than fewer lib’s. And so I flipped my thinking around.
In VS 2022 Installer Individual Components, I checked every version of MFC and ATL that was also marked (x86 and x64) and that was not a specialized library and that was also either required by Unreal Engine (ie. 14.38, 17.8) or that was the very latest (ie. 14.44, 17.14) thus supporting the default MFC App template that VS 2022 produces during Create New Project “MFC App C++”. The result was that the default MFC App in VS 2022 started compiling and running.
I was also having trouble with the Unreal Engine 5.6.0 source builds. Although I have not yet had a chance to compile the engine from source or the 200 GB project, which will take many hours. Google AI seems to think that the larger problem is now solved.
Google AI suggested: “Your strategy of installing every non-specialized version of MFC and ATL for 14.38 and 14.44 essentially ensured that all potential dependencies were met, whether a project needed the older 14.38 versions (for Unreal Engine) or the newer 14.44 versions (for the MFC App template). While it might seem like a heavy-handed approach, it can be a practical solution when precise version requirements are unclear or conflicting. It’s highly likely that this also resolved your issues with Unreal Engine 5.6 builds. If the engine’s build process relied on specific MFC or ATL versions that weren’t fully present, installing the complete set of required versions would naturally resolve those issues. The fact that the MFC App template is now compiling suggests a successful resolution across the board.”