Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET
Can I run a .NET software in MACOSX
Posted 7-Jan-13 11:30am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Yes. You just install bootcamp, then install windows, then install .NET, then install your program./
 
Otherwise, it's a windows program so, no.
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 7-Jan-13 17:34pm
   
I would not call it Mac OS X. :-)
Mono is the solution, I answered.
—SA
Christian Graus at 7-Jan-13 17:35pm
   
Well, perhaps, if you're lucky.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You can run .NET application without recompilation on Mac OS X under Mono:
http://en.wikipedia.org/wiki/Mono_%28software%29[^],
http://www.mono-project.com/Main_Page[^].
 
However, those application have to be compatible. Mono supports all of the BCL and some of other non-standard FCL, notably System.Windows.Forms, ADO.NET, and more.
Please see:
http://en.wikipedia.org/wiki/Base_Class_Library[^],
http://en.wikipedia.org/wiki/Framework_Class_Library[^].
 
I must also note that, in contrast to Linux, Mac OS X is extremely hostile to the "foreign" GUI applications. They work, but look ugly. If you confine yourself to console applications, it's not a problem, but Forms look like something outlaw, even though they work. One major reason for that is the totally different concept of the main menu. You can also develop "native" Mac OS X UI using Mono and the library MonobjC which wrapes, Objective-C, Cocoa, etc, but I don't think you are interested in that. Anyway, this is a possibility.
 
—SA
  Permalink  
Comments
Christian Graus at 7-Jan-13 17:35pm
   
Yeah, I know about Mono. I just thought that it's not really worth the effort to try to make it work - how do you know that it's all going to work ? How do you know at what point it will fail ?
Sergey Alexandrovich Kryukov at 7-Jan-13 17:41pm
   
It really depends. How do I know? Because many of my applications work on all my Linux systems, and because I've done a contract for porting .NET to the multi-platform solution. It's so good that I can develop applications which can work on a number of platforms. And I develop it on Windows totally, just test, first on Mono for Windows, later on other platforms. I really works.
 
But one needs to keep to the standard things, mostly BCL and keep the use of other parts FCL to a reasonably basic subset (which only improves the quality of the software; highly decorated "cool" applications are rarely robust). Unnatural hacking-style show-off applications will fail to work.
 
—SA
Christian Graus at 7-Jan-13 17:45pm
   
Fair enough. It seems like a dangerous path to me, but I'm sure with enough testing, it can be proven to work.
Sergey Alexandrovich Kryukov at 7-Jan-13 18:22pm
   
Well, to me, it is quite proven, but yes, with a number of limitations; no wonder.
—SA
Yaseer Arafat at 7-Jan-13 18:15pm
   
tanks
Yaseer Arafat at 7-Jan-13 18:18pm
   
I have downoaded gtk.sharp & mono-2.10.9.
 
I have developed a software with vs 2012.How can I convert it for MacOS
Sergey Alexandrovich Kryukov at 7-Jan-13 18:25pm
   
I told you: just write software, in a compatible manner, on Windows. Use compatible target .NET version (3.5 worked very well, 4 might work). If you do it accurately, it will work on Mac OS X without recompilation. Just run it as is with the following command line: mono my_application.exe.
 
Good luck,
—SA
Yaseer Arafat at 8-Jan-13 17:36pm
   
Thanks.It works For me.
Sergey Alexandrovich Kryukov at 8-Jan-13 20:03pm
   
Hope so.
 
You are welcome.
Good luck, call again.
 
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 575
1 Kornfeld Eliyahu Peter 409
2 Maciej Los 369
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,353
1 DamithSL 4,854
2 Maciej Los 4,476
3 Kornfeld Eliyahu Peter 4,058
4 Sergey Alexandrovich Kryukov 3,917


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 7 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100