Creating your first WinUI project
- Launch Visual Studio, and from the opening screen, select Create a new project, as illustrated in the following screenshot:
Figure 2.3 – The initial Visual Studio dialog
- On the Create a new project screen, enter
winuiin the Search for templates field, select the Blank App, Packaged (WinUI 3 in Desktop) C# template, and click Next, as illustrated in the following screenshot:
Figure 2.4 – Selecting the project template
Be sure to select the C# project template and not C++. You can filter the project types to show only C# projects by changing the Language filter from All languages to C#.