Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run .NET exe in linux

Tags:

Is there any way to run the .NET exe (of a winform app) in Linux without building the code in linux? In fact I don't have the code for some of the utilities I developed earlier and would like to run them in linux.

Related to : Feasibility of C# development with Mono

like image 225
softwarematter Avatar asked Apr 29 '09 05:04

softwarematter


People also ask

Can you run .NET application on Linux?

NET works well on their Linux distributions. Support is provided by those distributions. You can still open issues at dotnet/core if you run into problems.

Can C# .NET run on Linux?

So as long as your code is compatible with one of the aforementioned frameworks; yes, you can run it on Linux.


2 Answers

Mono ! http://mono-project.com/Main_Page

Works great too. There's a growing tool support, C# compiler etc in a growing community.

like image 69
jottos Avatar answered Oct 12 '22 23:10

jottos


You can test it by using the Mono Migration Analyzer or by actually testing it using the Mono command prompt...covered in this article

like image 42
Jon Avatar answered Oct 12 '22 23:10

Jon