Skip to content

Commit

Permalink
Merge pull request #18829 from unoplatform/dev/jela/update-netversion
Browse files Browse the repository at this point in the history
docs: Update .NET Versions support
  • Loading branch information
jeromelaban authored Nov 18, 2024
2 parents 69cb331 + cbf833b commit e152af2
Showing 1 changed file with 8 additions and 8 deletions.
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

0 comments on commit e152af2

Please sign in to comment.