i cant find the WinUi option in Visual Studio

淇杰 谢 0 Reputation points
2023-02-26T04:52:47.87+00:00

As what in https://learn.microsoft.com/zh-cn/windows/apps/winui/winui3/create-your-first-winui3-app says, it requitrrs me to create a C# Windows WinUi option project,but i dont find the WinUi option in the window.

Developer technologies | Visual Studio | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-02-27T06:33:18.15+00:00

    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.

    4 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.