[Mono-list] ASP.NET and System.Web.UI.Page

Shawn Vose svose@programmerforrent.com
Mon, 19 Jan 2004 16:17:03 -0500

Curious to know if the code behind is supported in mono and if so how
would you go about compiling all of the source code in an asp.net(C#)

I attempted to compile a simple asp.net app using code behind and I
received a complaint from mcs saying the following:

mcs -t:library -L /usr/local/lib PublicBase.cs
PublicBase.cs(8) error CS0246: Cannot find type `System.Web.UI.Page'
Compilation failed: 1 error(s), 0 warnings

The cs class is:
using System;

namespace Generic.GUI
	/// <summary>
	/// Summary description for PublicBase.
	/// </summary>
	public class PublicBase: System.Web.UI.Page
		protected Generic.GUI.Controls.PublicTemplate Template;
		protected override void OnInit(EventArgs e)
			Template =

Any suggestions as to what I am doing wrong to get this to compile would
be greatly appreciated.