[Mono-dev] web.config Assembly binding not working
APS
dev.malst at apsystems.it
Fri Sep 18 05:12:57 EDT 2009
Hi,
I'm using mono with mod_mono in apache.
When I launch my app I obtain a compiler error like that:
** (/usr/local/lib/mono/2.0/gmcs.exe:26140): WARNING **: The
following assembly referenced from
/tmp/apache-temp-aspnet-0/ddd13fb8/assembly/shadow/b402ad63/d427878b_60252ae8_00000003/WebSicDotNet.dll
could not be loaded:
Assembly: APS.Web.UI.WebControls (assemblyref_index=4)
Version: 9.2.1.26493
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
(/tmp/apache-temp-aspnet-0/ddd13fb8/assembly/shadow/b402ad63/d427878b_60252ae8_00000003).
** (/usr/local/lib/mono/2.0/gmcs.exe:26140): WARNING **: Could not
load file or assembly 'APS.Web.UI.WebControls, Version=9.2.1.26493,
Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Inside bin directory I have the APS.Web.UI.WebControls.dll version
9.2.0.57 so I added inside web.config
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="APS.Web.UI.WebControls"
PublicKeyToken="" />
<bindingRedirect oldVersion="9.2.1.26493"
newVersion="9.2.0.57"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
I doing something wrong? Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090918/53fad185/attachment-0001.html
More information about the Mono-devel-list
mailing list