Hello,
I test it in VS 2022 17.5.1, it is working. If this issue just happened in the 17.5.2.
If you update from previous version to the 17.5.2 and your VS version is enterprise or professional, you can rollback to previous version.
Please see this document. How can I rollback?
Or download previous version directly,
If your VS version is Community, please Report a problem with the Visual Studio product or installer
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.