davidortinau / WeatherTwentyOne
- пятница, 28 мая 2021 г. в 00:28:37
This is a .NET MAUI app showcasing .NET 6 Preview 4 progress. For more information about what's included, read the release blog post.
To run this app, you'll need:
The easiest way to get .NET 6 Preview 4 is to install the maui-check
dotnet tool from CLI and follow the instructions.
Install:
dotnet tool install -g redth.net.maui.check
Run:
maui-check
For additional NuGet config, follow the Getting Started guide.
For running on Mac you'll currently use your favorite text editor and terminal to edit and run apps. We expect Visual Studio for Mac .NET 6 support to begin arriving mid-year.
In Preview 4 we enable push/pop navigation with NavigationPage
. We added a concrete implementation of IWindow
, and completed porting ContentPage
from Xamarin.Forms.
To demonstrate how easily you can enable platform-native integrations, we added a handful of features:
The WeatherTwentyOne project is a multi-targeted SDK project that can run on Android, iOS, and macOS. To choose your platform to run on, use the new static run profiles from the run button.
WeatherTwentyOne.csproj
to be <TargetFrameworks>net6.0-android</TargetFrameworks>
WeatherTwentyOne.csproj
set the UseInterpreter
property to true
: