[MonoDevelop] stetic partial classes

Michael Hutchinson m.j.hutchinson at gmail.com
Sat Jun 30 11:10:07 EDT 2007

On 6/30/07, Rafael Teixeira <monoman at gmail.com> wrote:
> In truth Stetic do both ways, depending on the runtime version you are
> targetting, and how you created the form in the first place.

IIRC, partial classes will be used with a project created with MD 0.13 or later.

> Remember that partial classes are only recognized by the 2.0
> compilers. So, if you doesn't say your project targets 2.0, BEFORE
> creating your new window/form, Stetic will generate/maintain the old
> fashioned files.

Actually, mcs (the Mono c# 1.0 compiler) supports partial classes and
anonymous delegates.

> AFAIK, there's currently no automated way to migrate one form created
> in the older style to the new 'partial-class' style.

No, but it's not hard to do manually. Instructions here:

Michael Hutchinson

More information about the Monodevelop-list mailing list