Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I develop a .NET application in Windows and deploy versions for Linux and Mac?

Is this possible with, e.g., MonoDevelop perhaps?

like image 488
Dan Tao Avatar asked Dec 29 '22 08:12

Dan Tao


2 Answers

Yes, you don't even need to use MonoDevelop, the DLLs/EXEs created by Visual Studio and Microsoft's C# compiler are (for the most part) 100% compatible with Mono.

You have to avoid features and libraries that Mono doesn't support, of course, but that list is getting smaller every day...

like image 129
Dean Harding Avatar answered Jan 11 '23 05:01

Dean Harding


YES, some possibilities:

if your .NET minded: You can use visual studio and install mono on windows. There are tools you can than test in it if it works for linux too (dont use unsupported libraries in code ect).

You can use monodevelop too as IDE to program on mono framework with .NET languages. Some positive of mondevelop is too it can be used on linux.

like image 32
Benjamin Avatar answered Jan 11 '23 06:01

Benjamin