[Mono-dev] mojoPortal broken using latest Mono from svn

Marek Habersack grendello at gmail.com
Tue Oct 23 06:06:45 EDT 2007


On Sat, 20 Oct 2007 13:58:08 -0400, "Joe Audette" <joe.audette at gmail.com>
scribbled:

> Hi Guys,
Hello Joe,

[snip] 
> System.IO.FileNotFoundException: Could not load file or assembly
> 'App_GlobalResources' or one of its dependencies. The system cannot
> find the file specified.
> File name: 'App_GlobalResources'
>   at (wrapper managed-to-native) System.AppDomain:LoadAssembly
> (string,System.Security.Policy.Evidence,bool)
>   at System.AppDomain.Load (System.String assemblyString) [0x00000]
>   at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
>   at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000]
>   at Resources.Resource.get_ResourceManager () [0x00000]
>   at Resources.Resource.get_ApplicationStartEventMessage () [0x00000]
>   at mojoPortal.Web.Global.Application_Start (System.Object sender,
> System.EventArgs e) [0x00000]
>   at (wrapper managed-to-native)
> System.Reflection.MonoMethod:InternalInvoke (object,object[])
>   at System.Reflection.MonoMethod.Invoke (System.Object obj,
> BindingFlags invokeAttr, System.Reflection.Binder binder,
> System.Object[] parameters, System.Globalization.CultureInfo culture)
> [0x00000]
[snip] 
> So somewhere in that range of revisions something has gone wrong and
> mojoPortal no longer works on Mono.
The regression was related to the recent changes in the satellite assembly
handling in System.Web.Compilation (Application resources compiler would write
a preservation file for every satellite assembly, thus overwriting
the .compiled file for the main assembly - as a result, assembly resolution
handler in HttpRuntime wasn't able to find the actual main assembly). It's been
fixed in svn revision 87964.

regards,

marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071023/83e6c56f/attachment.bin 


More information about the Mono-devel-list mailing list