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

APS dev.malst at apsystems.it
Fri Sep 18 05:12:57 EDT 2009


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)
      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

            <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
               <assemblyIdentity name="APS.Web.UI.WebControls" 
PublicKeyToken="" />
               <bindingRedirect oldVersion="" 

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