There is no M2 version of Visual Studio. The version of Visual Studio 2022 I installed was x64. I have some other x64 software installed as well (Notepad++, AWS CLI, git, etc.) and all of them work just fine under the ARM version of Windows 11 running under VMWare Fusion.