Hi @淇杰,
Welcome to Microsoft Q&A!
Please close all running VS instances and go to Visual Studio Installer > Modify > select “.NET desktop development” in the Installation details > select “Windows App SDK C# Templates” (at the bottom of the list) > click on Modify.
After installing completely, you can re-launch your VS and find the WinUI project type.
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. answers to provide solutions to the user's question.