[MonoTouch] Help! - MonoDevelop generating corrupt .designer.cs
Michael Hutchinson
m.j.hutchinson at gmail.com
Sun Nov 1 15:30:54 EST 2009
On Sun, Nov 1, 2009 at 3:28 PM, Michael Hutchinson
<m.j.hutchinson at gmail.com> wrote:
> On Sun, Nov 1, 2009 at 1:25 PM, Ed Anuff <ed at anuff.com> wrote:
>> Yes, this is with the beta that was released last week. I just
>> realized when I went to restore the files from backup (yay Time
>> Machine), that I hadn't actually made any changes in my MainWindow.xib
>> from before the update (all my work was in other .xib files).
>>
>> You're right, it just needed to have the carriage returns manually
>> placed - looking at the file, I thought for a moment that it wasn't
>> generating the rest of the classes, but that seems to be the only
>> problem.
>
> I've checked and it wasn't caused by the changes I thought, which had
> indeed been reverted in the MD build that accompanied the 1.2 preview.
> It's a bug in Mono's C# CodeDOM generator where the class's closing
> brace is neither placed on a newline nor indented when the class
> contains a single CodeSnippetTypeMember. I checked against .NET's C#
> CodeDOM generator which works as I'd expect. The cleanest solution
> right now IMO is for MD to omit the pragma when there are no
> outlets/actions.
Oh, forgot to say, I'll get a build out tomorrow to fix this.
--
Michael Hutchinson
http://mjhutchinson.com
More information about the MonoTouch
mailing list