Once you've set up your development computer (see [Install tools for the Windows App SDK](../../windows-app-sdk/set-up-your-development-environment.md)), you're ready to create a WinUI 3 app by starting from one of the WinUI 3 project templates in Visual
Learn how to use Visual Studio to create a new project for a C# .NET or C++ app that has a WinUI 3 user interface (UI).
Learn how to use Visual Studio to create a new project for a C# .NET or C++ app that has a WinUI 3 user interface (UI).
创建工程 接下来按照微软文档创建第一个 WinUI 3 项目。 Create your first WinUI 3 project 先安装 WinUI 3 工程模板,使用模板创建工程。 WinUI 3 project templates in Visual Studio 微软文档主要支持 C# 和 C++ 两种开发语言,这里以 C++/WinUI 3 为例。 微软提供了两种空应用程序模板,一种使用 Windows Appli...
然后在 https://aka.ms/winui3/previewdownload 下载并安装 WinUI 3 Project Templates 扩展,这样才可以在 Visual Studio 创建 WinUI 的项目。 可选C++ 或 C# ,这里我选择了 C# 的“Blank App, Packaged (WinUI in Desktop)”项目,并选择了对应的 Windows 平台: ...
然后在 aka.ms/winui3/previewdo 下载并安装 WinUI 3 Project Templates 扩展,这样才可以在 Visual Studio 创建 WinUI 的项目。 可选C++ 或 C# ,这里我选择了 C# 的“Blank App, Packaged (WinUI in Desktop)”项目,并选择了对应的 Windows 平台: 项目创建后 Visual Studio 生成了两个项目。第一个包含应用的...
using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; // To learn more about WinUI, the WinUI project structure, // and more about our project templates, see: http://aka.ms/winui-project-info. na...
WinUI 3 ships as a component ofthe Windows App SDKframework package, with Visual Studio project templates in the Windows App SDK Visual Studio Extension (VSIX).Part of WinUI 2 ships within the operating system itself (the Windows.UI.* family of UWP WinRT APIs) and part of it ships as a...
然后在 https://aka.ms/winui3/previewdownload 下载并安装 WinUI 3 Project Templates 扩展,这样才可以在 Visual Studio 创建 WinUI 的项目。 可选C++ 或 C# ,这里我选择了 C# 的“Blank App, Packaged (WinUI in Desktop)”项目,并选择了对应的 Windows 平台: 项目创建后 Visual Studio 生成了两个项目。第...
To use the WinUI 3 project templates, install the Windows App SDK extension for Visual Studio. For more details, refer here. WinUI Desktop app Step 1: Create a new C# WinUI Desktop app. Select Blank App, Packaged with WAP (WinUI 3 in Desktop) from the template and click the Next button...