Hello @xuanjiu ,
Welcome to Microsoft Q&A forum.
Please try to remove following two packages(folders) and repair VS. The two folders(ProgramData is a hidden folder, you may need to let it display by checking the View, hidden items option in Windows File Explorer) are
F:\VS\ProgramData\Microsoft\VisualStudio\Pacakges\Win11SDK_10.0.22621,version=10.0.22621.5,productarch=neutral
and
F:\VS\ProgramData\Microsoft\VisualStudio\Pacakges\Win11SDK_WindowsPerformanceToolkit,version=10.0.22621.2,productarch=neutral
.
If it doesn’t work, please try to remove following folders and reinstall VS 2022.
C:\Program Files (x86)\Microsoft Visual Studio
C:\Program Files\Microsoft Visual Studio
%programdata%\Microsoft\visualstudio\packages
Best Regards,
Tianyu
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.