[MonoDevelop] ASP.NET and partial classes

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Jun 10 12:06:45 EDT 2007


On 6/10/07, Łukasz Zachulski <lzachulski at gmail.com> wrote:
> > 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
> >
>
> Ok, thanks... I was just wondering if it is possible to deploy
> precompiled pages instead of using compile-on-the-server mode as you
> described.

You can, as long as you don't expect MD to create partial classes. It
*is* capable of inserting the page members into your Codebehind class
automatically.

Precompiling the files that are usually compiled by the server would
require aspnet_compiler.exe, which Mono doesn't have yet AFAIK.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list