csharpmarkup2-winui-2-0-0
·
130 commits
to master
since this release
Major Release
C# Markup 2 target platforms are now updated and expanded:
- .NET 7 and C# 11 for all target platforms
- Supports latest version of Windows App SDK for targeting Windows - no dependency on Uno Platform
- Supports latest version of Uno.WinUI for targeting Android, iOS, Mac Catalyst, WebAssembly, Skia/Tizen, Skia/WPF, and Skia/GTK for Linux
- Supports platform specific API's and API variations (separate C# Markup API's generated for each target platform, compiled into separate assemblies)
- Built for multi-targeting
- Adds Source Link for easy debugging and discovery of API's and API patterns
- Comes with high-quality mcs-winui3-app and mcs-winui3-view dotnet new templates
- All code built to the highest C# standards: nullable enabled, zero warnings, fully compliant with the mcs-editorconfig template
- Supports rebuild UI on C# Hot Reload - including smart workarounds for various MS hot reload defects
- Has built-in debug navigator overlay to quickly build out your pages in hot reload
- Has
New-View.ps1
to quickly add views from within Visual Studio's terminal. Create views with or without viewmodel. - Uses a combination of CommunityToolkit.Mvvm and PropertyChanged.Fody for an optimal developer experience with viewmodels
- Automatic file nesting of
<view>.cs
and<view>.logic.cs
in solution explorer - Application main window content is now also a C# Markup view (in
App.cs
andApp.logic.cs
)
- new
.Content()
extension method onPage
allows to configure existing page instances (created by navigating to a page) fully in C# Markup instead of in the.logic.cs
file