dittoxu / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.

Home Page:https://devblogs.microsoft.com/dotnet/introducing-net-multi-platform-app-ui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introducing .NET Multi-platform App UI (MAUI)

.NET Multi-platform App UI (.NET MAUI) is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. Using .NET MAUI, you can develop apps that can run on Android, iOS, macOS, and Windows from a single shared code-base.

Read More

Build Status

Private Public
Build Status Build Status

Maui.sln

SDKS required

Running

IDE

  • If you have Visual Studio 16.9 P4 or newer installed you can open Maui.sln and run it from there.

.NET 6

You can run a Cake target to bootstrap .NET 6 in bin\dotnet and launch Visual Studio:

dotnet tool restore
dotnet cake --target=VS-NET6

NOTES:

  • VS Mac is not yet supported.
  • If the IDE doesn't show any android devices try unloading and reloading the Sample.Droid-net6 project.

You can also run commands individually:

# install local tools required to build (cake, pwsh, etc..)
dotnet tool restore
# Provision .NET 6 in bin\dotnet
dotnet build src\DotNet\DotNet.csproj
# Builds Maui MSBuild tasks
.\bin\dotnet\dotnet build Microsoft.Maui.BuildTasks-net6.sln
# Builds the rest of Maui
.\bin\dotnet\dotnet build Microsoft.Maui-net6.sln
# (Windows-only) to launch Visual Studio
dotnet cake --target=VS-DOGFOOD

To build & run .NET 6 sample apps, you will also need to use .\bin\dotnet\dotnet:

.\bin\dotnet\dotnet build src\Controls\samples\Controls.Sample.Droid\Maui.Controls.Sample.Droid-net6.csproj -t:Run
.\bin\dotnet\dotnet build src\Controls\samples\Controls.Sample.iOS\Maui.Controls.Sample.iOS-net6.csproj -t:Run

Try out a "single project", you will need the -f switch to choose the platform:

.\bin\dotnet\dotnet build src\Controls\samples\Controls.Sample.SingleProject\Maui.Controls.Sample.SingleProject.csproj -t:Run -f net6.0-android
.\bin\dotnet\dotnet build src\Controls\samples\Controls.Sample.SingleProject\Maui.Controls.Sample.SingleProject.csproj -t:Run -f net6.0-ios

To build and run Blazor Desktop samples, check out the Blazor Desktop wiki topic.

Current News

June 17, 2021 - Announcing .NET MAUI Preview 5

May 25, 2021 - Announcing .NET MAUI Preview 4

May 24, 2021 - Azure DevOps Podcast - Interview with David Ortinau

April 21, 2021 - WinUI Community Live Stream

April 21, 2021 - InfoQ Interview with David Ortinau

April 9, 2021 - Announcing .NET Multi-platform App UI Preview 3

April 9, 2021 - Xamarin Podcast - .NET MAUI Q&A

April 6, 2021 - On .NET with guest Maddy Leger - A Journey to .NET MAUI

April 1, 2021 - Xamarin Community Standup with Guest Jonathan Peppers discussing .NET 6 Project System updates

Additional live streams and presentations:

FAQs

Do you have questions? Do not worry, we have prepared a complete FAQ answering the most common questions.

How to Engage, Contribute, and Give Feedback

Some of the best ways to contribute are to try things out, file issues, join in design conversations, and make pull-requests. Proposals for changes specific to MAUI can be found here for discussion.

See CONTRIBUTING

Code of conduct

See CODE-OF-CONDUCT

About

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.

https://devblogs.microsoft.com/dotnet/introducing-net-multi-platform-app-ui/

License:Other


Languages

Language:C# 99.7%Language:HTML 0.1%Language:PowerShell 0.1%Language:CSS 0.1%Language:Java 0.0%Language:Shell 0.0%Language:JavaScript 0.0%Language:Batchfile 0.0%Language:Makefile 0.0%