Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update .NET Versions support #18829

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions doc/articles/net-version-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ This page lists supported .NET versions and [C# language versions](https://learn

## Table of supported versions

# [**Uno 5**](#tab/uno5)
# [**Uno 5 and later**](#tab/uno5)

| Platform | Default .NET version | Default C# version | Max .NET version | Max C# version |
|--------------------------------------------|:--------------------:|:------------------:|:-----------------:|:--------------:|
| WebAssembly | .NET 7 | 11 | .NET 8 | 12 |
| Skia Desktop | .NET 7 | 11 | .NET 8 | 12 |
| WinAppSDK | .NET 7 | 11 | .NET 8 | 12 |
| iOS, macOS, Android, Catalyst (.NET Core) | .NET 7 | 11 | .NET 8 | 12 |
| WebAssembly | .NET 8 | 12 | .NET 9 | 13 |
| Skia Desktop | .NET 8 | 12 | .NET 9 | 13 |
| WinAppSDK | .NET 8 | 12 | .NET 9 | 13 |
| iOS, macOS, Android, Catalyst (.NET Core) | .NET 8 | 12 | .NET 9 | 13 |
| UWP | .NET Standard 2.0 | 7.3 | .NET Standard 2.0 | 7.3 |

### Notes

In Uno 5.0, support for .NET 6 (iOS, Android, mac Catalyst), Xamarin.Android, Xamarin.iOS, and Xamarin.macOS was removed.

For UWP, it is possible force a higher version of C# using `LangVersion` in the platform `csproj` (eg `<LangVersion>12.0</LangVersion>`), but some language features may not work properly, such as those that depend on compiler-checked types (eg array slicing, `init`-only properties) or on runtime support (eg default interface implementations). Using [PolySharp](https://www.nuget.org/packages/PolySharp) can help enabling some more recent C# features.
- In Uno 5.3, support for .NET 7 has been removed.
- In Uno 5.0, support for .NET 6 (iOS, Android, mac Catalyst), Xamarin.Android, Xamarin.iOS, and Xamarin.macOS was removed.
- For UWP, it is possible force a higher version of C# using `LangVersion` in the platform `csproj` (eg `<LangVersion>12.0</LangVersion>`), but some language features may not work properly, such as those that depend on compiler-checked types (eg array slicing, `init`-only properties) or on runtime support (eg default interface implementations). Using [PolySharp](https://www.nuget.org/packages/PolySharp) can help enabling some more recent C# features.

# [**Uno 4 and earlier**](#tab/uno4-earlier)

Expand Down
Loading