Switching back to Windows 2019 an Visual Studio 2019 to fix building of 32-bit version, as Visual Studio 2022 in the newer version of windows-latest doesn't include the v141_xp platform toolset.
There is a probability that installing the v141_xp platform toolset in Visual Studio 2022 might not help, as per this comment such configuration successfully builds the binary which doesn't actually run in WinXP. Needs investigation.
Switching back to Windows 2019 an Visual Studio 2019 to fix building of 32-bit version, as Visual Studio 2022 in the newer version of
windows-latest
doesn't include the v141_xp platform toolset.There is a probability that installing the v141_xp platform toolset in Visual Studio 2022 might not help, as per this comment such configuration successfully builds the binary which doesn't actually run in WinXP. Needs investigation.