[Mono-list] Compilation errors ...

Martin Trejo chilli.coder at gmail.com
Thu Aug 9 13:47:20 EDT 2007


Did you include the reference to System.Web assembly when compiling?

2007/8/9, Azher Amin <azher at niit.edu.pk>:
>
> Hi gurus,
>
> I am trying to compile a .Net aspx using mono, however I am getting the
> following error, plz suggest the possible solutions.
> I am using mono 1.2.4
>
> Regards
> -Azher Amin
>
>
> Login.aspx.cs(13,30): error CS0234: The type or namespace name `UI' does
> not exist in the namespace `System.Web'. Are you missing an assembly
> reference?
> Compilation failed: 1 error(s), 0 warnings
>
> Code:
> ====
> using System;
> using System.Data;
> using System.Configuration;
> using System.Collections;
> using System.Web;
> using System.Web.Security;
> using System.Web.UI;
> using System.Web.UI.WebControls;
> using System.Web.UI.WebControls.WebParts;
> using System.Web.UI.HtmlControls;
> using System.Data.SqlClient;
>
> public partial class Login : System.Web.UI.Page
> {
>     protected void Page_Load(object sender, EventArgs e)
>     {
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>



-- 
Saludos,

Martín Trejo Chávez
http://chilli-coder.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070809/cc69e23b/attachment.html 


More information about the Mono-list mailing list