[Mono-bugs] [Bug 61970][Cri] New - ASP.NET Code Behind directive does not take current directory

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 26 Jul 2004 15:43:22 -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 accounts@sandmik.net.

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

--- shadow/61970	2004-07-26 15:43:22.000000000 -0400
+++ shadow/61970.tmp.6949	2004-07-26 15:43:22.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 61970
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: Fedora Core 2.6.6-1.435.2.1 i686
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: accounts@sandmik.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ASP.NET Code Behind directive does not take current directory
+
+In an .ASPX file:
+
+<%@ Page language="c#" Codebehind="WebForm1.aspx.cs"
+AutoEventWireup="false" Inherits="App.WebForm1" %>
+
+If this file is not put in the root of XSP
+then WebForm1.aspx.cs will not be found.
+
+This is different than the behavoir in Windows Platform, where the
+CodeBehind will search code files (in this case "WebForm1.aspx.cs") in the
+same directory that the .ASPX file exists
+
+This BUG makes it very hard to have ASP.NET WebApplications put in
+subfolders of the main Web Path. I Think this BUG might be in the XSP Web
+Server itself, it should parse the code files in the directory of the .ASPX
+files and not relative to the main root.
+
+Thanks.