Windows SDK add on là gì
팁 Show Windows 앱 SDK 시작다운로드 링크를 선택하거나 Visual Studio 2022 설치 관리자의 선택적 구성 요소에서 "Windows 11 SDK(10.0.22621.0)"를 선택하여 이 페이지에서 Windows SDK를 설치하는 두 가지 방법으로 Windows SDK를 가져올 수 있습니다. 이 SDK를 설치하기 전에 다음을 수행합니다.
마지막 업데이트: 2021년 10월 4일 시스템 요구 사항Windows SDK에는 다음과 같은 최소 시스템 요구 사항이 있습니다. 지원되는 운영 체제
(이전 운영 체제에서 모든 도구가 지원되는 것은 아닙니다.) 하드웨어 요구 사항
추가 SDK 요구 사항Windows 8.1 및 이전 운영 체제에 설치하려면 Windows에서 유니버설 C 런타임에 대한 업데이트가 필요합니다. Windows 업데이트 통해 설치하려면 Windows SDK를 설치하기 전에 Microsoft 업데이트에서 권장되는 최신 업데이트 및 패치를 설치해야 합니다. 샘플이제 GitHub를 통해 Windows 앱 샘플을 사용할 수 있습니다. GitHub에서 코드를 찾아보거나, Git에서 리포지토리의 개인 복사본을 복제하거나, 모든 샘플의 압축된 보관 파일을 다운로드 할 수 있습니다. 피드백을 환영하므로 문제가 있거나 질문이 있는 경우 리포지토리 내에서 문제를 자유롭게 열 수 있습니다. 이러한 샘플은 UWP(유니버설 Windows 플랫폼)를 지원하는 데스크톱, 모바일 및 향후 디바이스에서 실행되도록 설계되었습니다. 이전 SDK 버전업데이트 세부 정보를 포함하여 이전에 릴리스된 SDK 및 에뮬레이터는 보관 페이지에서 찾을 수 있습니다. API 켜기새 API를 사용하는 경우 가장 광범위한 Windows 디바이스에서 올바르게 실행되도록 앱을 적응형으로 작성하는 것이 좋습니다. 적응형 앱은 디바이스 및 Windows 버전이 지원하는 모든 위치에서 새로운 기능으로 "켜지게"하지만, 그렇지 않으면 검색된 플랫폼 버전에서 사용할 수 있는 기능만 제공합니다. 구현 세부 정보는 버전 적응 코드 문서를 참조하세요. Chuyển đến nội dung chính Trình duyệt này không còn được hỗ trợ nữa. Hãy nâng cấp lên Microsoft Edge để tận dụng các tính năng mới nhất, bản cập nhật bảo mật và hỗ trợ kỹ thuật.
Trong bài viết nàyConfigure your development computer by installing the appropriate tools to develop apps for Windows with the Windows App SDK and WinUI. To install the required tools and workloads using the command line, enter one of the following commands in the console. This is supported only with Visual Studio 2022 and later. If you already have Visual Studio 2022 or later installed, then the command will open Visual Studio Installer with any missing workloads selected. You can then select Modify in the Visual Studio Installer to install the required workloads. For C# developers
For C++ developers
To install the required tools and workloads manually, read the following sections. Install Visual StudioUse these links to install Visual Studio 2022 (recommended) or Visual Studio 2019. You can choose between the free Visual Studio Community Edition, Visual Studio Professional, or Visual Studio Enterprise. Before you begin, see System requirements for Windows app development. Important Visual Studio 2019 only supports Windows App SDK 1.1 and earlier. Visual Studio 2022 is recommended for developing apps with all versions of the Windows App SDK. Required workloads and componentsWhile installing Visual Studio, you have the option to install the workloads and components you want. After installation, you can open Visual Studio Installer and select Modify to add workloads and components. While installing, select the following workloads and components:
From within the Visual Studio Installer app:
From within the Visual Studio Installer app:
Visual Studio project and item templatesThe Windows App SDK includes Visual Studio project and item templates for creating and developing apps that use the WinUI 3 library to implement the user interface.
If you followed the instructions in Required workloads and components above, then the templates are already installed. Select C# or C++ as the language, Windows as the platform, and WinUI as the Project type to create a new Windows App SDK project. Optionally, install Template Studio for WinUI (C#) to accelerate the creation of new .NET WinUI apps using a wizard-based UI. Select from a variety of project types and features to generate a project template customized for you. The templates are available by installing a Visual Studio extension (VSIX). Note If you have a Windows App SDK Visual Studio extension (VSIX) already installed, then uninstall it before installing a new version. For directions, see Manage extensions for Visual Studio. Download the extension directly, and install it: Important Visual Studio 2019 only supports Windows App SDK 1.1 and earlier. Visual Studio 2022 is recommended for developing apps with all versions of the Windows App SDK. The templates are available by installing a Visual Studio extension (VSIX). Note If you have a Windows App SDK Visual Studio extension (VSIX) already installed, then uninstall it before installing a new version. For directions, see Manage extensions for Visual Studio.
For more versions of the Windows App SDK, see Downloads for the Windows App SDK. Hybrid C/C++ runtime library linkageIn releases 1.0.3 and 1.1 Preview 2 and later, the Windows App SDK uses Hybrid C/C++ runtime library linkage (hybrid CRT linkage). This is a CRT linkage technique that simplifies deployment. Whether you're a C++ application developer or a C++ library developer, here are some resources for learning about hybrid CRT linkage:
Next stepsTo create your first WinUI 3 app that uses the Windows App SDK, see Create your first WinUI 3 project. Also see Use the Windows App SDK in an existing project.
Phản hồiGửi và xem ý kiến phản hồi dành cho Tài nguyên bổ sungTài nguyên bổ sungTrong bài viết này |