[Mono-dev] Problem with reference not refreshed
Gonzalo Paniagua Javier
gonzalo.mono at gmail.com
Thu May 14 13:53:43 EDT 2009
On Thu, 2009-05-14 at 18:34 +0200, APS wrote:
> I'm working on a webapplication with mod_mono. The web app runs well
> but if I try to update an assembly with a different version I obtain a
> Compilation Error
> saying that an assembly could not be loaded.
> In detailed errors I see that the problem is that a referenced
> assembly (the dll I updated) version 1.2.3 cannot be found.
> My new assembly is inside bin but it's has a new version (1.2.4)
> I checked the reference in the main assembly and "specific version" is
> false, so it should work with every assembly version. I first removed
> the 1.2.3 version and then placed the new version as described into
> I checked the assembly that is specified on the gmcs command line, as
> specified in detailed error (
> tmp/wwwrun-temp-aspnet-0/37c30bc1/assembly/shadow/409bd53a/54dc730a_1447a630_00000001/) and there is the right file, the 1.2.4 version.
> What I'm doing wrong? why it seems to keep on searching for the old
> specific version? Thanks in advance.
Mono does not deal well with 2 assemblies that are different only in the
version number. I believe this is already in bugzilla (and it will be
for a while)
More information about the Mono-devel-list