Click here to Skip to main content
15,885,956 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can I run a .NET software in MACOSX
Posted

Yes. You just install bootcamp, then install windows, then install .NET, then install your program./

Otherwise, it's a windows program so, no.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 7-Jan-13 17:34pm    
I would not call it Mac OS X. :-)
Mono is the solution, I answered.
—SA
SamnangYin 25-Mar-15 3:25am    
I tried mono.
But it error on some event. :(
Christian Graus 7-Jan-13 17:35pm    
Well, perhaps, if you're lucky.
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
 
Share this answer
 
Comments
Christian Graus 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 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 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 7-Jan-13 18:22pm    
Well, to me, it is quite proven, but yes, with a number of limitations; no wonder.
—SA
Yaseer Arafat 7-Jan-13 18:15pm    
tanks

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900