I have started using the ASP.NET functionality today and love it. However I am having a problem with code behind. The first time that I create a form with the code-behind code everything works properly. If a make a change to the code behind .cs file and rebuild the .dll my changes are not shown. It appears as if it is caching the assembly that is generated. Here is some more information that might be helpful:

 

  1. I am using Visual Studio.Net 2002 on my development machine and Redhat 9 with mod_mono on my server.
  2. The problem occurs both when I compile the dll in Visual Studio.NET and on the server.
  3. If I view the .dll assembly in a decompiler I can see that my changed code does exist in the .dll in the bin folder.
  4. If I kill the mono processes and restart the xsp server then the changes show.

 

I can workaround this problem by killing all mono processes and then restarting the server, but I shouldn’t have to do that everytime I make a change to a file. Any ideas on what I might be doing wrong? Thanks.

 

Jeff LOve

Reply via email to