I know, but it was working properly in old Visual Studio 2015. I tried it on a fresh Windows 10 with no apps but Visual Studio 2022 and not working, and another try on a fresh Windows 8.1 with Visual Studio 2015 and it worked perfectly.
I reported it here if you wish to follow,
I will send you couple videos, if it help