[Mono-list] cannot find metadata file
Pedro Santos
donbonifacio at gmail.com
Thu Apr 30 11:57:47 EDT 2009
> Interesting! Thanks Pedro. What do you mean by precompile?
I mean this:
http://gonzalo.name/blog/archive/archive-2009-Feb.html
Our deploy process sends everything to a Web folder and then we call
(using nant);
<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/" />
This creates a WebPrecompiled folder with everything precompiled. The
first access is faster because mono doesn't need to compile
aspx/master/etc.
Hope this helps,
BR
On Thu, Apr 30, 2009 at 4:49 PM, Danny Waite <dannywaite7 at hotmail.com> wrote:
>
> Interesting! Thanks Pedro. What do you mean by precompile? I'm using the publish function in Visual Studio (gulp) I saw that there is better support for that in 2.4 however maybe thats a bad way to do things.
>
> ----------------------------------------
>> Date: Thu, 30 Apr 2009 16:33:03 +0100
>> Subject: Re: [Mono-list] cannot find metadata file
>> From: donbonifacio at gmail.com
>> To: dannywaite7 at hotmail.com
>> CC: mono-list at lists.ximian.com
>>
>> I also experienced that behavior. What we now do is precompile
>> everything. That way our websites never get that error when mono tries
>> to compile them. :-)
>>
>> On Thu, Apr 30, 2009 at 4:21 PM, Danny Waite wrote:
>>>
>>> Hi All,
>>>
>>> I've been through various mono versions over time and have seen this error throughout and it really has been beaten! It's an ASP.NET web app, quite a simple one. It works well for a while until we get the following error.
>>>
>>> If we kill the mod-mono-server2.exe process or restart apache, it stops.
>>>
>>> Could anyone shed any light onto it before I pull my hair out! :-)
>>>
>>> Best,
>>> Danny
>>>
>>>
>>> Server Error in '/' Application
>>>
>>>
>>> Compilation Error
>>> Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.
>>> Compiler Error Message: CS0006: cannot find metadata file `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'/manage/dynamic-interfaces.aspx
>>>
>>> Show Detailed Compiler Output:
>>>
>>>
>>> gmcs /target:library /debug+ /optimize- /warn:4 /out:"/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1.dll" /r:"/usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll" /r:"/usr/local/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll" /r:"/usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll" /r:"/usr/local/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll" /r:"/usr/local/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll" /r:"/usr/local/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll" /r:"/usr/local/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll" /r:"/usr/local/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll" /r:"/usr/local/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll" /r:"/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/a41b7686/305f42ab_9444342d_00000001/Mono.Da
>>> ta.SqliteClient.dll" /r:"/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/0c44534b/98006766_9444342d_00000001/Mono.Data.dll" /r:"/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/fa8669ae/6ec25d83_9444342d_00000001/Mono.Posix.dll" /r:"/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/3c856a06/a8c15e2b_9444342d_00000001/Xrio.Enterprise.DataTypes.dll" /r:"/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/7dcf53f1/e98b67dc_9444342d_00000001/Xrio.Standalone.Configuration.dll" /r:"/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/c09555f0/54d161dd_9444342d_00000001/Xrio.Standalone.Service.dll" /r:"/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll" /r:"/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.dll" /nowarn:0169 -- "/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1_0.cs" error CS0006: cannot find metadata file `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'error CS0006: cannot find metadata file `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.
>>> dll'
>>>
>>> Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433
>>> _______________________________________________
>>> 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
--
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