[Mono-list] Precompiled ASP.NET web sites in Mono

Pedro Santos donbonifacio at gmail.com
Thu Feb 26 08:05:43 EST 2009


Hello Gonzalo,

Our build process precompiles it using:

<exec failonerror="false" workingdir="."
	basedir="H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
	program="aspnet_compiler"
	commandline="-nologo -f -c -fixednames -p Deploy/Web -v /
Deploy/WebPrecompiled/" />

We have an IIS server, and we send the full contents of
Deploy/WebPrecompiled to deploy our application. We tried it to the
Linux machine and we got the result I reported.

We also have mono2.2 on this machine, I don't know if it may cause
some troubles. I don't think so, cause the launched process seams ok:
/usr/local/mono/mono-2.4_RC1//bin/mono
/usr/local/mono/mono-2.4_RC1//lib/mono/2.0/fastcgi-mono-server2.exe

Is there anything I can do to troubleshoot this?

On Thu, Feb 26, 2009 at 12:58 PM, Gonzalo Paniagua Javier
<gonzalo.mono at gmail.com> wrote:
> On Thu, 2009-02-26 at 12:54 +0000, Pedro Santos wrote:
>> Hello, I saw that mono now supports precompiled sites:
>> http://gonzalo.name/blog/archive/Mono/2009/Feb-20.html
>>
>> Is this available on mono 2.4 RC1?
>>
>> I'm trying and I get the following output:
>> This is a marker file generated by the precompilation tool, and should
>> not be deleted!
>>
>> I'm using:
>>
>> # fastcgi-mono-server2 --version
>> fastcgi-mono-server2.exe 2.4.0.0
>>
>> # xsp2 --version
>> xsp2.exe 2.4.0.0
>
> You probably precompiled your site to be run on a virtual path like
> "/mysite" and are trying to run it on / instead.
>
> -Gonzalo
>
>
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>



-- 
Pedro Santos
Home - http://psantos.zi-yu.com
Work - http://www.pdmfc.com
The future - http://www.orionsbelt.eu


More information about the Mono-list mailing list