[MonoTouch] Help! - MonoDevelop generating corrupt .designer.cs
Ed Anuff
ed at anuff.com
Sun Nov 1 13:25:11 EST 2009
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.
On Sun, Nov 1, 2009 at 10:10 AM, bryan costanich <b at wowzer.net> wrote:
> I've been seeing this as well, I've been waiting for you to get back
> in town hutch, to talk to you about it.
>
> I'm seeing this in the one that got released with the beta of 1.1.2 or
> whatever the debugger ver is.
>
> Ed, for now put a carriage return in after the file is generated and
> you can at least build.
>
> -b
>
> On Nov 1, 2009, at 10:07 AM, "Michael Hutchinson" <m.j.hutchinson at gmail.com
> > wrote:
>
>> On Sun, Nov 1, 2009 at 12:44 PM, Ed Anuff <ed at anuff.com> wrote:
>>> MonoDevelop has just started generating a bad .designer.cs file from
>>> my project's .xib file. The xib file looks fine, opens in IB, all I
>>> did was add an additional view and MonoDevelop started with this
>>> problem.
>>>
>>> The code in the .cs file is peppered with:
>>>
>>> #pragma warning disable 0169
>>>
>>> and
>>> #pragma warning disable 0169}
>>>
>>> I'm hoping there's a way to fix this or I'm going to have lost an
>>> awful lot of work.
>>
>> What version of MD are you using? There were some changes made to the
>> CodeDOM generator that made it produce bad code like this, but as far
>> as I know, it was never in any released version.
>>
>> The designer files can be fully regenerated without any problems.
>>
>> --
>> Michael Hutchinson
>> http://mjhutchinson.com
>> _______________________________________________
>> MonoTouch mailing list
>> MonoTouch at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
>
More information about the MonoTouch
mailing list