Hi @두 얍,
Welcome to Microsoft Q&A!
Which version of Visual Studio are you using?
I tested it in VS2022 and couldn’t reproduce the issue. Could you please create a new project and check it again?
You can also open the Visual Studio Installer and update the VS to the latest version.
Besides, you can enter “devenv /ResetSettings” at Developer Command Prompt to restore your Visual Studio default settings.
Sincerely,
Anna
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.