Hi and welcome to the forums. We're a few days away from supporting building with VS 2022, there is an almost ready PR that you could test: #8176
If you're using the main branch or the nightly build, VS 2017 is the only supported compiler (though you could use the vc141 toolset in VS2022) until that PR is merged.
And lastly, if you're building from a git clone, you'll need to download Vulkan shaders and translations from the nightly build using `binaries/system/get-nightly-binaries.bat`, or else you'll have the game fall back to OpenGL.