Skip to content

Latest commit

 

History

History
70 lines (45 loc) · 2.38 KB

install-maui.md

File metadata and controls

70 lines (45 loc) · 2.38 KB

Install .NET Multi-platform App UI Workloads

.NET MAUI is a .NET workload installable via the dotnet CLI tool, and is available within the Visual Studio 2022 Preview channel installer. To install .NET MAUI and all dependencies for daily development, we recommend installing via Visual Studio 2022 previews.

Visual Studio 2022 Installation

When installing Visual Studio 2022 Previews, select the "Mobile development with .NET" workload, and under Optional check the ".NET MAUI (Preview)" box. To enable desktop development, also select the "Universal Windows Platform development" workload.

To enable debugging Windows applications, install the Single-project MSIX packaging tools for Visual Studio 2022 extension.

CLI Installation

To install .NET MAUI with Android, iOS, and macOS (Mac Catalyst) SDKs:

$ dotnet workload install maui

We also have targeted workload manifests for mobile and desktop only:

$ dotnet workload install maui-desktop
$ dotnet workload install maui-mobile

Optionally, for more granular control you can install platform SDKs individually:

$ dotnet workload install microsoft-android-sdk-full
$ dotnet workload install microsoft-ios-sdk-full
$ dotnet workload install microsoft-maccatalyst-sdk-full
$ dotnet workload install microsoft-macos-sdk-full
$ dotnet workload install microsoft-tvos-sdk-full

To check your environment for additional dependencies and obtain the latest .NET MAUI SDKs, we recommend using our maui-check dotnet tool.

$ dotnet tool install -g redth.net.maui.check

Then run the tool and follow the instructions presented:

$ maui-check

See our documentation for further details about getting started, including installing Windows App SDK requirements.

Android

Prerequisites:

iOS, Mac Catalyst, and macOS (Cocoa)

Prerequisites:

Downloads

Download links are provided for each of the distributions at: