https://bugzilla.novell.com/show_bug.cgi?id=377915
Summary: Changes to ascx-files registered in web.config not
picked up
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Web
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
Changes to ascx-files registered in web.config are not being picked up. And
when the a page containing such a control is recompiled, an exception ("The
imported type `ASP.mycontrol_ascx' is defined multiple times") is thrown and
the app needs to be restarted.
Recipe for reproduction:
========================
- extract the attached test case
- start xsp2 in app dir
- request http://localhost:8080
- change MyControl.ascx
- request http://localhost:8080
=> no change
- touch index.aspx
- request http://localhost:8080
=> exception:
======
Server Error in '/' Application
Compilation Error
Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.
Compiler Error Message: CS0433: The imported type `ASP.mycontrol_ascx' is
defined multiple times
Source Error:
Line 1: <%@ Page %>
Line 2: <test:MyControl runat="server" />
Source File: /home/js/testapp/index.aspx Line: 2
======
Without app restart, the page will not recompile.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs