tags:

views:

1041

answers:

4

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 : http://stackoverflow.com/questions/797093/feasibility-of-c-development-with-mono

+15  A: 

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

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

jottos
I need to run a .NET exe file. I know that .NET programs can be built using mono. But can we run .NET exe (created in windows) in linux?
iJeeves
mono is an implementation of the CLR. assemblies built against the .net framework on windows can be run on mono without recompiling
Hamish Smith
yes, we build in visual studio and deploy on linux and run under mono
jottos
+1  A: 

Wine + .NET

Unkwntech
How can wine run .NET assemblies? It is not native code.
iJeeves
Incorrect answer. .NET applications (IL code) generally cannot be run using wine!
Milen
I do believe, that .NET (>=2.0 iirc) can be installed in wine.
Unkwntech
Ruben Steins
+2  A: 

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

Jon
A: 

If there was no obfuscation of the code done then you should get pretty good results from reverse engineering the code. Especially if you originally wrote them as claimed.

nocache
this is not a valid answer.
Milen
What exactly is wrong with it? I'm just trying to add to the conversation.
nocache