[MonoTouch] Help! - MonoDevelop generating corrupt .designer.cs
Michael Hutchinson
m.j.hutchinson at gmail.com
Sun Nov 1 13:07:01 EST 2009
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
More information about the MonoTouch
mailing list