[Mono-list] Compiling partial clases for asp.net 2.0

Madars Vitolins madars.vitolins at gmail.com
Sun Nov 12 17:10:32 EST 2006


Hi all,


     I would like to compile asp.net 2.0 project, so that after publishing
it, there are no sources on server.
Currently I could run the project on server leaving aspx.cs files there, so
mono compiles them dynamicaly (on request).

How can I compile aspx.net 2.0 sources in dll?

There is some problem with partial classes, I got following output by
running gmcs on aspx.cs file:

Default.aspx.cs(20,24): error CS0103: The name `region_sel' does not exist
in the context of `_Default'
Default.aspx.cs(21,40): error CS0103: The name `region_sel' does not exist
in the context of `_Default'
Default.aspx.cs(21,13): error CS0103: The name `region_sel' does not exist
in the context of `_Default'
Default.aspx.cs(23,24): error CS0103: The name `companyfield_sel' does not
exist in the context of `_Default'



Thanks in advance,
Madars.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061113/e916aa80/attachment.html 


More information about the Mono-list mailing list