This project has moved and is read-only. For the latest updates, please go here.

Monotouch binaries

Topics: Developer Forum
Mar 17, 2010 at 11:43 AM

Hi, I've converted the project to the Monotouch / Monodevelop  csproj format (it's very slightly different from VS2008/2010), and also made some minor changes to the source where it was incompatible with the Monotouch .NET implementation. Would you be able to put the source and binaries as 2 new downloads, or should I host it elsewhere?

Mar 17, 2010 at 3:47 PM

I'd be interesting in looking over the changes and providing them as part of the next release cycle. It would be nice to keep it all as one code base if possible.

Mar 17, 2010 at 5:02 PM

The main change is System.Diagnostics.Trace and System.Diagnostics.TraceListener doesn't exist in Monotouch so I wrote 2 'fake' versions of the classes. The other change was to the compile has to use the already definied _WINCE_ so the web stuff isn't used.

Apart from that, it's just the inclusion of a Monodevelop format project. I'm not sure if you build a Monotouch binary on Windows it will work on the Mac, as the PE header might get in the way. 

I'll upload a patch with the 2 changes + csproj file later, and also try compiling on Windows and referencing on the Mac.

Mar 17, 2010 at 5:08 PM

I have seen demonstrations on how to open up MonoTouch projects in Visual Studio 2010. So we can provide the solution but the anyone building will need those binaries. It will be nice to at least have it supported via code. I can look into getting a mac to be used as a build server. I've been pushing our iPhone developers at my company to look into MonoTouch as a platform to use instead of Objective-C.

I am happy to hear it didn't take much to get up and running.

Mar 17, 2010 at 5:16 PM

I've written this tool to convert between the two formats:

For some reason the MonoDevelop team decided to use a different XML documentation format, and use a tag that breaks the csproj file for Visual Studio. You will need the Monotouch assemblies to compile - and they are changing it almost monthly right now, so in my view it's probably not worth including the MT version in the binaries .

Mar 17, 2010 at 9:16 PM

I've uploaded the 3 files as a patch to hopefully I didn't forget anything from the project. I got a bit confused with the details above, confusing the project for SmartThreadPool which I've also converted - there's no WindowsCE symbols in HAP so ignore that guff!