Hi

On 2013.07.07 15:55, Wardell Castles wrote:
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.
If reference (dll) is missing in bin folder then .net gets it from GAC. Due to the fact that not all required dlls under mono are in mono GAC make those dlls appear in bin/folder simply with
changing Copy Local = true for given dll (which is missing).

Copy Local is in Properties of the reference/assembly.

cheers

Mel
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] <mailto:[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]
    <mailto:[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


--
Miljenko Cvjetko dipl.ing. ET
        Direktor/CEO
        Projektant rjes(enja/Solution Architect 
        Razvojni programer/Senior developer
        Voditelj projekta/Project Manager

IX juz(na obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: [email protected]
w: http://holisticware.net

_______________________________________________
Mono-aspnet-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

Reply via email to