[MonoTouch] no iPhone build option in latest monodevelop

Michael Hutchinson m.j.hutchinson at gmail.com
Fri Oct 2 16:21:57 EDT 2009


On Fri, Oct 2, 2009 at 1:47 PM, Michael Bluestein
<mike.bluestein at gmail.com> wrote:
> Hi Michael,
>
> Yes. Previously, there was an option to set the runtime to mono for iphone,
> like this:

Ah, right, I thought you meant that the "iphone build options" panel
was not showing up.

We changed it so you have to create a MonoTouch library project
explicitly (the same way it works for silverlight in MD and VS).

This fixes the bug where the framework version was not stored, as well
as several other more subtle issues particularly regarding future
MSBuild and VS compatibility.

To change an existing project, edit the csproj in a text editor, and
copy the ProjectTypeGuids value over from a MonoTouch project.

It's sub-optimal - it reflects MD's internal limitations and
compatibility with the VS/MSBuild project format. Converting projects
gets complicated when you consider details of things like transferring
properties between project types that may or may not support them, and
changing the MSBuild targets paths, etc. I would love to make it
easier but we just couldn't figure out a way to do it right easily,
and we already have to do it this way for compatibility with VS
silverlight projects - they do it that way too.

I suspect the best solution is some kind of project
converter/importer, but that's nontrivial.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the MonoTouch mailing list