[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:
>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 
>could not be loaded:
>      Assembly:   APS.Web.UI.WebControls    (assemblyref_index=4)
>      Version:
>      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 
>** (/usr/local/lib/mono/2.0/gmcs.exe:26140): WARNING **: Could not 
>load file or assembly 'APS.Web.UI.WebControls, Version=, 
>Culture=neutral, PublicKeyToken=null' or one of its dependencies.
>Inside bin directory I have the APS.Web.UI.WebControls.dll version 
> 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="" 
> newVersion=""/>
>             </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
-------------- 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