Hi miemie_2,
请问你的VS2022是最新的版本吗?如果不是,
建议你更新到最新的版本:打开Visual Studio Installer >
点击更新。
此外,请点击“工具(Tools)”>
“选项(Options)”检查以下设置:

希望对你有所帮助。
Sincerely,
Anna
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any
compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com