How can I develop C# in Xcode?

27,746

Solution 1

Your best bet would be to install MonoDevelop (aka Xamarin Studio) which can be used to write Mono-based applications on Mac OS X. It comes with project templates for Mac apps that you can use to write open source Mac apps in C# (via the MonoMac binding).

Solution 2

Xcode 4 changed where templates are installed. You need to look at the instructions page and then decide the appropriate place to put the files in the new Xcode 4 hierarchy.

For example, the file templates need to go into this directory: "~/Library/Developer/Xcode/UserData/File Templates".

There might be more useful information in this related Stackoverflow question.

Share:
27,746
Adrian Oprea
Author by

Adrian Oprea

Remote work, JavaScript, Node.js, React.js, Ruby on Rails

Updated on May 12, 2020

Comments

  • Adrian Oprea
    Adrian Oprea almost 4 years

    I installed the mono CSharpPlugin for Xcode but I don't see an entry in the New Project wizard that looks like "CSharp Project" or something similar. My guess is that the plugin hasn't been developed lately and it doesn't work with the newer versions of Xcode, because I saw that the last update to the plugin code was back in 2007.

    Is there another way to develop C# applications on a Mac, and benefit from testing, breakpoints, etc? I need this to work on a project for school.