All,
I figured out my problem. Not only are the *.cs files required from VS in
Linux but also the /bin/*.dll file from VS.
Apparently, mono knows that System.Web.UI can be found in the bin/*.dll file.
So in order to get the site to work, one needs all the *.cs files in the site's
directory AND ALSO the application's dll in a bin subdirectory. I am not
sure where this is specifically stated, so I am stating it here for others that
may have the same problem in the future.
Thanks to all for their input!
Now on to making some more aspx sites on Linux!!!
(Actually I am doing this on my Raspberry Pi. It makes for a great low power
low-volume web server running Apache).
________________________________
From: Daniel Lo Nigro <[email protected]>
To: Wardell Castles <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Sunday, July 7, 2013 6:31 AM
Subject: Re: [Mono-aspnet-list] System.Web.UI problem
How are you compiling the site? What commands are you using?
On Sun, Jul 7, 2013 at 9:30 AM, Wardell Castles <[email protected]>
wrote:
Hi all,
>
>
>I have an ASPX application that I am trying to compile. It's my first one on
>mod-mono. However I am getting the error "The type or namespace 'UI' does not
>exist in the namespace 'System.Web. Are you missing an assembly reference"
>
>
>In Googling the net, I see others have had this problem. However I haven't
>seen any replies to these posts.
>
>
>Can someone clue me in on what I need to do to fix this?
>
>
>It seems to me in the Mono documentation, that System.Web.UI has been around
>Mono for a long time.
>
>
>Regards,
>Wardell
>_______________________________________________
>Mono-aspnet-list mailing list
>[email protected]
>http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>
_______________________________________________
Mono-aspnet-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list