[Mono-aspnet-list] ReflectionTypeLoadException - Flag to avoid missing reference?
dev.malst at apsystems.it
Fri Nov 20 10:38:06 EST 2009
I'm experiencing a strange behavior. I already posted it on
mono-devel-list but after some check I found that is aspnet related
so I post also here before entering a bug report.
I've downloaded Mono 184.108.40.206 VmWare machine and I deployed a test
application. At first access to the app I got an error cause an
assembly reference is missing and I can't use it. It happens only for
libraries referenced inside the <%@ Register @%> directive inside
.aspx files, missing libraries referenced only in project doesn't
have this issue. Even removing aspx files, but without rebuilding the
app, the error continue to be raised.
The error is:
System.Reflection.ReflectionTypeLoadException: The classes in the
module cannot be loaded.
and in debug output I see
** (/usr/lib/mono/2.0/mod-mono-server2.exe:7319): WARNING **: The
following assembly referenced from
could not be loaded:
Assembly: myLib (assemblyref_index=4)
Public Key: (none)
The assembly was not found in the Global Assembly Cache, a path
listed in the MONO_PATH environment variable, or in the location of
the executing assembly
The weird thing is that in a CentOS machine where I rebuilt Mono
220.127.116.11 from source it doesn't happen.
So I would like to know if there's some build configuration that
enables this lock or if you have an idea about how solve the problem.
I can't remove unused reference by now.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-aspnet-list