[Mono-bugs] [Bug 68788][Nor] New - mod_mono/xsp failing to recognize updated Src'ed file in ASP.NET

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 25 Oct 2004 23:51:45 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by sebastian@nowozin.de.

http://bugzilla.ximian.com/show_bug.cgi?id=68788

--- shadow/68788	2004-10-25 23:51:45.000000000 -0400
+++ shadow/68788.tmp.5680	2004-10-25 23:51:45.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 68788
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sebastian@nowozin.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mod_mono/xsp failing to recognize updated Src'ed file in ASP.NET
+
+Description of Problem:
+
+When referencing an external .cs file in the Page directive of an ASP.NET
+page using the Src attribute, as in
+<%@ Page Src="Extern.cs" Inherits="MyClass" %>
+the mod_mono/xsp fail to recognize updates on the underlying file
+Extern.cs. (It does recognize changed on the .aspx file itself). This makes
+developing a hassle.
+
+Steps to reproduce the problem:
+1. Copy the attached test.aspx and Test.cs files into any ASP.NET enabled
+directory.
+2. Visit the test.aspx file in your browser. The mono compilation will
+correctly produce an error message in the Test.cs file, which is
+intentionally broken.
+3. Fix the underlying Test.cs file by removing the "bugbugbug" line. Now
+revisit the test.aspx page. The same error is still reported.
+(4. You can rename the file to Test2.cs and change the Src attribute in
+test.aspx to verify it works without problems if the filename changes)
+
+Actual Results:
+The updated Test.cs is not recompiled.
+
+Expected Results:
+Transparent update on Src-referenced files, just as with the .aspx file itself.
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+I use the Debian/sid mono 1.0.2 and xsp packages.