.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
Перейти к файлу
dotnet-maestro[bot] fbb7188abf
Update dependencies from https://github.com/xamarin/xamarin-macios build 20210427.36 (#877)
Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk , Microsoft.tvOS.Sdk
 From Version 11.3.100-preview.4.623 -> To Version 11.3.100-preview.4.624

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-04-28 14:21:20 +01:00
.config [build] Use arcade dependency management (#729) 2021-04-15 19:49:21 +01:00
.github Add note on SemanticsPage to PR template 2021-04-22 13:26:22 -04:00
.nuspec Backport Navigation to Preview 4 (#861) 2021-04-27 15:41:36 +01:00
Assets Add scripts to run device tests (#13641) 2021-02-11 01:17:57 +02:00
eng Update dependencies from https://github.com/xamarin/xamarin-macios build 20210427.36 (#877) 2021-04-28 14:21:20 +01:00
src [Housekeeping] Code format 2021-04-28 09:54:28 +01:00
.editorconfig [build] Update to .NET 6 Preview 4 (#796) 2021-04-24 11:32:18 +01:00
.gitattributes try to avoid merge conflicts in GitInfo.txt (#5715) 2019-04-03 08:49:40 +02:00
.gitconfig try to avoid merge conflicts in GitInfo.txt (#5715) 2019-04-03 08:49:40 +02:00
.gitignore Added .DS_Store to the gitignore (#512) 2021-03-15 15:29:51 -06:00
Compatibility.ControlGallery.sln Backport Navigation to Preview 4 (#861) 2021-04-27 15:41:36 +01:00
Directory.Build.props Backport Navigation to Preview 4 (#861) 2021-04-27 15:41:36 +01:00
Directory.Build.targets [build] Update to .NET 6 Preview 4 (#796) 2021-04-24 11:32:18 +01:00
GitInfo.txt Bump gitinfo to preview4 2021-04-24 18:04:55 +01:00
LICENSE Fix license copy 2016-04-29 13:41:50 -04:00
Microsoft.Maui-net6.sln .NET MAUI BlazorWebView control for Android, iOS/MacCatalyst, and WinUI (#654) 2021-04-15 16:47:42 -04:00
Microsoft.Maui.BuildTasks-net6.sln [singleproject] implement @(MauiSplashScreen) (#807) 2021-04-22 22:45:35 -04:00
Microsoft.Maui.BuildTasks.sln [Handlers] Fonts and Label FontFamily, FontAttributes & FontSize (#13888) 2021-03-03 19:30:32 +00:00
Microsoft.Maui.WinUI.sln Add Control Gallery to WinUI solution (#737) 2021-04-19 10:06:12 -04:00
Microsoft.Maui.iOS.sln Backport Navigation to Preview 4 (#861) 2021-04-27 15:41:36 +01:00
Microsoft.Maui.sln Use Maui for the essentials sample (#786) 2021-04-20 16:21:30 -04:00
Microsoft.Maui.sln.DotSettings Rename all of the things... All of them. (#13847) 2021-02-24 23:50:31 +00:00
NuGet.config [build] Use arcade dependency management (#729) 2021-04-15 19:49:21 +01:00
README.md refreshed news and links 2021-04-23 08:15:47 -05:00
SECURITY.md Add SECURITY.md (#7373) 2019-09-04 10:03:31 -07:00
build.cake Add Control Gallery to WinUI solution (#737) 2021-04-19 10:06:12 -04:00
build.cmd Make building easier on Windows by setting PowerShell execution policy (attempt 2) (#6755) 2019-07-02 14:36:22 -06:00
build.ps1 Remove DevopsNuget.config (#13814) 2021-02-22 18:02:09 +00:00
build.sh Remove DevopsNuget.config (#13814) 2021-02-22 18:02:09 +00:00
global.json [build] Use arcade dependency management (#729) 2021-04-15 19:49:21 +01:00

README.md

Introducing .NET Multi-platform App UI (MAUI)

.NET MAUI is:

  • Multi-platform native UI
  • Deploy to multiple devices across mobile & desktop
  • Using a single project, single codebase
  • Evolution of Xamarin.Forms
  • .NET 6

Build Status

Private Public
Build Status Build Status

Maui.sln

SDKS required

dotnet tool install Cake.Tool -g

Running

IDE

  • If you have Visual Studio 16.9 P4 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 cake --target=VS-NET6

NOTE: VS Mac is not yet supported.

You can also run commands individually:

# 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
.\eng\dogfood.ps1

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

Current News

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