Visual Studio 2022 ships with both 32-bit and 64-bit versions of MSBuild. By default, the IDE uses for better performance when building large solutions. You can still invoke MSBuild.exe (32-bit) from the Developer Command Prompt if needed.