[Mono-devel-list] mcs / mono assemblies issue

Esmit Perez esmitperez at gmail.com
Mon Mar 28 16:56:19 EST 2005


Hello, I created a asp application at my home computer which runs
linux, runs ok with XSP. But when I try to run it on windows (using
mono/xsp as well) I get a message saying "The parent type does not
derive from System.Web.UI.Page".

I find no prior reference to this issue anywhere (google, go-mono), a
little test program I wrote leads me to believe mcs is using a
different assembly when compiling, but mono (xsp?) is using another,
so even though the class is properly inherited, they believe its not?

I appreciate any pointers or help you can provide me

Thanks

Esmit Perez


------ SchemaExport excerpt 
public class SchemaExport : System.Web.UI.Page{....

--- Test.cs program excerpt
Console.WriteLine((typeof(SchemaExport)).BaseType + " en " +
(typeof(SchemaExport)).BaseType.Assembly.CodeBase);

Console.WriteLine((typeof(System.Web.UI.Page))+ " en " +
(typeof(System.Web.UI.Page)).Assembly.CodeBase);
------------------

The test program outputs :

System.Web.UI.Page en file:///C:/mono/lib/mono/gac/System.Web/2.0.3600.0__b03f5
7f11d50a3a/System.Web.dll
System.Web.UI.Page en file:///C:/mono/lib/mono/gac/System.Web/1.0.5000.0__b03f5
7f11d50a3a/System.Web.dll



More information about the Mono-devel-list mailing list