Answer the question
In order to leave comments, you need to log in
Is it possible to run a c# application on Ubuntu?
Good afternoon! I wrote an application for windows in c#.
Now there is a task that you need the same application only on Ubuntu. In order not to rewrite it into another language, is it possible to somehow recompile it to run it under Ubuntu?
Answer the question
In order to leave comments, you need to log in
If it is written under the .NET Framework and uses Winforms, it can be run on mono.
If it is written under the .NET Framework and it is console-based, you can run it on mono or migrate to .NET Core with one console command.
If it is written under the .NET Framework and uses WPF, then it can be rewritten in Avalonia and run under .NET Core.
All three methods will only work if you are not firmly attached to Windows technologies.
Personally, I recommend switching to .NET Core and making a cross-platform application.
PS: dotnet try-convert
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question