[Mono-dev] web.config Assembly binding not working

APS dev.malst at apsystems.it
Mon Sep 21 08:06:30 EDT 2009


No hints?

At 11.12 18/09/2009, APS wrote:
>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.
>
>
>--
>Il messaggio e' stato analizzato alla ricerca di virus o
>contenuti pericolosi da <http://www.mailscanner.info/>MailScanner, ed e'
>risultato non infetto.
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090921/148e3a17/attachment.html 


More information about the Mono-devel-list mailing list