Avalonia UI and .NET 10?

I'm using Windows, and I'm just starting to experiment with GUIs, so I thought I start with using Avalonia.

After having managed to get the Avalonia templates working (needed to execute dotnet.exe; if Avalonia is a first class citizen for Rider, why isn't that process more simplified?), I now follow the Avalonia tutorial and am about to create a new solution.

Unfortunately, on the New Solution dialog, I cannot select any target framework other than net9.0 or net8.0. What I want is .NET 10.

Is there a way to use Avalonia and C# 14 (.NET 10) together?

 

4
2 comments

itHello Andreas Hinterleitner ,

Thank you for reaching Rider Forum.

The templates for Avalonia (which includes available for project creation .NET versions) are managed on the side of Avalonia itself. They are explicitly installed from the command line in the tutorial provided. I was able to reproduce such behavior in rider and in Visual Studio. Hence, I would suggest you address this question directly with the Avalonia team.

0

You can manually edit .csproj easily though. Right click on project in Solution, Edit, Edit [PROJECT].csproj.

0

Please sign in to leave a comment.