.NET 5 introduce limited support for WinForm, so you may give it a try.
You're strongly advised to review what is not supported and replace them with alternatives before start conversion.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All,
We have a Winforms application with a very minimum UI. We are currently using .Net Framework 4.5. We need to run this application on a Linux machine. We are currently considering migrating the .Net Framework to .Net Core.
Please let us know if there any other better approach to achieve this task or if we can continue with .Net Core.
Any help would be appreciated. Thank you!!
.NET 5 introduce limited support for WinForm, so you may give it a try.
You're strongly advised to review what is not supported and replace them with alternatives before start conversion.
Why don't install Mono runtime on linux to run your .net winforms application ?
I did it to run a winform application on raspberry (Debian)
If you are running an app in Linux it will be fine .net framework is cross-comp is great for running them.
You just have to download Mono or the .net run time to run apps. (WPF apps use Microsoft's DX to render the app, so you can't use that app on Linux or Mac)
Developing them however is a wildly hard idea. Winforms is sadly outdated, while MS is trying to update it, the legacy code really bad. You should look into migrating to
Avalonia UI. It's an Open Source, Cross-platform UI library like WinForms (that is an understatement). If you want to stay on WinForms however Mono supports in runtime and SDK. proof of concept for WinForms running in Linux using Mono
Really Avalonia replaces both WPF and WinForms.