Which version of VS2022 are you using? I am experiencing the same problem on a machine where I installed version 17.12.3. I do not have this problem on my other machines where 17.10.4 is installed. You can look up your version using the menu items "Help-About Microsoft Visual Studio".