[Mono-devel-list] Mono 1.0 caching bug?

Gonzalo Paniagua Javier gonzalo at ximian.com
Wed Aug 25 19:50:05 EDT 2004


On Tue, 2004-08-24 at 19:05, Garthfield Carter wrote:
> I hope this is the right list, it did mention that people can discuss
> bugs. I have a very strange caching problem with Code Behind, here's
> my CodeBehind.aspx file:
>  
> <%@ Page language="c#" Codebehind="CodeBehind.aspx.cs"
> Inherits="mynamespace.HelloWorld" %>
[...]
>  
> I compile the code behine with the following:
>  
> mcs CodeBehind.aspx.cs -r:System.Web -o ../bin/HelloWorld.dll
> -target:library
>  
> Which creates a HelloWorld.dll in my bin folder. When I run the
> CodeBehind.aspx file I get the message "hello, world and boo" now if I
> change the message in the CodeBehind.aspx.cs and recompile and then
> touch the CodeBehind.aspx the page compiles itself as there is a long
> pause but the message still says "hello, world and boo" even though
> the compiled dll is has a different message compiled into it? I'm
> pulling my hair out. The only physical way for it to start displaying
> the new hello world message is for me to stop the Apache, kill the
> mono processes that are still running (don't know why these are there
> when I've just shut down apache) and remove all of the dll's, .wapi
> etc from /tmp and then restart Apache.
>  
> Is there some setting I'm missing from the standard install?
>  
> Please let me know if there's some more information that's needed from
> me?
>  

There's already a bug report for this. I put the number in the report
you filed.

Thanks.

-Gonzalo




More information about the Mono-devel-list mailing list