[MonoDevelop] ASP.NET and partial classes

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Jun 10 11:21:39 EDT 2007


Hi Łukasz,

On 6/10/07, Łukasz Zachulski <lzachulski at gmail.com> wrote:
> I'm expecting it will be autogenerated like with VS2005, but if MD
> doesn't support this I can live with that... Does mono support that?
> Because I have these feeling that that problem is more general.

Yes, Mono will autogenerate them if you're using the 2.0
compile-on-the-server mode, which is enabled with the CodeFile
attribute. This is demonstrated in the following thread:
http://lists.ximian.com/pipermail/monodevelop-list/2007-May/005986.html

> If I don't compile that page I don't have anything else to compile under
> that project and as the result MD gives me that error msg
<snip>
> Is this right way to handle that kind of error?

I'll have to fix that, as ASP.NET projects won't necessarily need compilation.

Basically, MonoDevelop doesn't yet support the 2.0 way of doing
ASP.NET CodeBehind. You can still do it, as long as you know what's
going on behind the scenes.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list