[Mono-list] Running MS compiled ASP.NET in Mono.

White, Solomon Solomon_White@amr-corp.com
Fri, 3 Oct 2003 11:39:30 -0600


Another thing to be aware of...

xsp expects the bin/*.dll files to be in the working directory (where =
you started it).  For instance, say your dir structure looks like this:

/home/user/mono			<-- xsp working directory
/home/user/mono/testApp		<-- *.aspx files are here

When you copy over from windows, you'll probably get something that =
looks like:

/home/user/mono/testApp/bin	<-- *.dll files will be here.

You'll need to move the dll files to /home/user/mono/bin for xsp to see =
them.

Hope this helps,

Solomon

-----Original Message-----
From: Bryan Andrews [mailto:bandrews@trendinfluence.com]=20
Sent: Friday, October 03, 2003 6:12 AM
To: mono-list@lists.ximian.com
Subject: RE: [Mono-list] Running MS compiled ASP.NET in Mono.

How does this work with vb.net pre-compiled dlls?=20

-----Original Message-----
From: Gonzalo Paniagua Javier [mailto:gonzalo@ximian.com]
Sent: Monday, September 29, 2003 1:50 PM
To: mono-list@lists.ximian.com
Subject: Re: [Mono-list] Running MS compiled ASP.NET in Mono.

El lun, 29-09-2003 a las 18:53, Mark Furniss escribi=F3:
> Hi,
>
> We have successfully installed Mono / XSP and mod_mono. The example
> files supplied all run fine and also any simple (inline C#) ASPX files =
I
> create are fine, however when I attempt to run any of our ASP.NET
> applications (written in MS Visual Studio using compiled aspx.cs =
files)
> they fail (see example error below this post).
>
> Can anyone tell me if it is possible to just copy over a compiled MS
> project that uses "code behind modules" and then run it, or do I need =
to
> compile it using MCS.exe on Linux?
>
> Basically I am looking to develop on Windows and deploy on Linux.
>
> Assuming this is possible can anyone tell me if they are using
> Mono/mod_mono (apache) in a production environment?
>
{snip}
Visual Studio should compile Default.aspx.cs into a dll and that dll
should be in 'bin' directory. If you copy those dlls in bin to linux, it
should work.

-Gonzalo

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list