Reputation:
I have a few console apps that I want to run on a dedicated box. However, I have no interest in purchasing a windows license.
Is there anything special I have to do after compiling the code to run on linux mint?
Upvotes: 0
Views: 2719
Reputation: 392833
Normally, you'd install mono
http://community.linuxmint.com/software/view/mono-runtime
http://community.linuxmint.com/software/view/mono-complete
The most popular package for developers seems to be
http://community.linuxmint.com/software/view/monodevelop
With existing console applications, there will be no need to recompile (.NET is platform indepent, remember?). However, there could be slight incompatibilities to missing support for very specific Microsoft Class libraries (think of WPF, till recently Message Queues, some Winforms Stuff and obvious Interop (P/Invokes of native libraries).
Use the Moma tool to scan for such incompatibilities, and you'll get a nice overview of things that might cause a problem.
Upvotes: 4
Reputation: 244757
Assuming you have Mono installed on the Linux box and you don't use anything MS-specific, then no, you don't have to do anything special. Just compile the .exe, copy it to the linux box and run it using mono the_app.exe
.
Upvotes: 0