• Advertisement
Sign in to follow this  

Are there any options for using C# on a Mac OS?

This topic is 2167 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a Macbook Pro, and I primarily run bootcamp/Windows 7 on it. This is mainly because I use Visual Studio and C# a lot. I feel like the Mac side is a bunch of potential I'm wasting so I was wonderin if there was a way to use C# on it.

Share this post


Link to post
Share on other sites
Advertisement
You can use Mono and MonoDevelop (SharpDevelop?) I think. I've never used them myself, but I've seen people use them.

I don't know what people use for gamedev though, as in cross platform libraries. There was the Tao framework, but I seem to recall hearing it was deprecated in favor of something else..? There's SDL.NET which is a .NET friendly wrapper around SDL, which I'm guessing is cross platform. There have also been attempts/projects to port XNA, but I'm not sure how that's going.

Share this post


Link to post
Share on other sites
Actually there was just a session at the AltDevConf about using Mono for games. :)


Cross Platform Game Development in C#
by Matthieu Laban, Philippe Rollin, and Miguel de Icaza

They'll be posting videos on Youtube soon I believe so you can still watch it.

Share this post


Link to post
Share on other sites
[quote name='Slateboard' timestamp='1329109905' post='4912493']
I have a Macbook Pro, and I primarily run bootcamp/Windows 7 on it. This is mainly because I use Visual Studio and C# a lot. I feel like the Mac side is a bunch of potential I'm wasting so I was wonderin if there was a way to use C# on it.
[/quote]

Do you want to write C# FOR mac or ON mac?
Because since you mention visual studio if it's only the later you can develop in visual studio targeting .net as usual, as long as you don't use anything microsoft proprietary that wasn't ported to mono (wpf xna etc) your exe/dll should run "as is" on mac/linux etc if mono is installed without recompiling.

Share this post


Link to post
Share on other sites
[quote name='Slateboard' timestamp='1329158273' post='4912679']
Yes, I was referring to writing on a Mac.
[/quote]
as far as writing on it, a mac has no potential. for .net nothing compares with VS, i'd jusy dual boot it or use a vm for dev

Share this post


Link to post
Share on other sites
[quote name='markadrake' timestamp='1329136912' post='4912561']
Actually there was just a session at the AltDevConf about using Mono for games. [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]


Cross Platform Game Development in C#
by Matthieu Laban, Philippe Rollin, and Miguel de Icaza

They'll be posting videos on Youtube soon I believe so you can still watch it.
[/quote]
Yeah here's a link to the slides [url="http://tirania.org/slides/AltDevConf-2012-Mono.pdf"]"Mono for games"[/url]
Owning a mac myself you're better off learning Objective-C for native development for anything serious.
Last time I tried mono on mac it was a joke since it was missing so much stuff and so far behind what was available on Windows.
Sort of like trying to use Objective-C on Windows. Although possible via Gnustep it's a joke since it's missing Cocoa which is what really gives the language it's power just as the .Net give C# it's power!

Then again there was nothing like MonoGame around either so maybe there is hope?
Besides Miguel de Icaza hasn't let anyone stop him from trying to improve Mono and he's been working on it since I can remember so maybe they are making some progress?

Share this post


Link to post
Share on other sites
[quote name='daviangel' timestamp='1329197612' post='4912897']
[quote name='markadrake' timestamp='1329136912' post='4912561']
Actually there was just a session at the AltDevConf about using Mono for games. [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]


Cross Platform Game Development in C#
by Matthieu Laban, Philippe Rollin, and Miguel de Icaza

They'll be posting videos on Youtube soon I believe so you can still watch it.
[/quote]
Yeah here's a link to the slides [url="http://tirania.org/slides/AltDevConf-2012-Mono.pdf"]"Mono for games"[/url]
Owning a mac myself you're better off learning Objective-C for native development for anything serious.
Last time I tried mono on mac it was a joke since it was missing so much stuff and so far behind what was available on Windows.
Sort of like trying to use Objective-C on Windows. Although possible via Gnustep it's a joke since it's missing Cocoa which is what really gives the language it's power just as the .Net give C# it's power!

Then again there was nothing like MonoGame around either so maybe there is hope?
[/quote]

Well except most of .net is actually supported, it's lacking property APIs but none of the core stuff so if deving with an open source .net framework you still get all the base .net stuff

Share this post


Link to post
Share on other sites
[quote name='ranakor' timestamp='1329187537' post='4912857']
as far as writing on it, a mac has no potential. for .net nothing compares with VS, i'd jusy dual boot it or use a vm for dev
[/quote]
I'm a huge Visual Studio fan boy, but I recently tried out MonoDevelop and it was actually pretty great. The intellisense was a bit more annoying, but better than most IDEs (looking at you, Eclipse). Plus it reads and writes Visual Studio files and the binaries are usually completely interchangeable across platforms without modification.

As far as game development libraries, MonoGame is pretty nice. It provides some useful features on top of OpenTK. Unfortunately if you're using sprite fonts or anything else that needs the XNA content pipeline, you're limited to authoring content on Windows and copying the compiled XNB files over to Mac.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement