Hi!
I created some user control (ASCX) and it works fine.
The control is created one of subfolders of my project, so
its namespace looks like:
namespace myproject.subfolder1
{
public class route : System.Web.UI.UserControl
....
In another subfolder I also created second control, but
I used the 1st control as origin. Just copied the 1st control files
to the 2nd subfolder. After changed the 2nd control's namespace as:
namespace myproject.subfolder2
{
public class route : System.Web.UI.UserControl
....
Compilation works ok, but at run-time when I visit a page that contains
both of my controls, the server raises error:
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: CS1595: 'ASP.route_ascx' is defined in multiple
places; using definition from
'd:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET
Files\myproject\4b10f33a\12f97037\2bgwzy1u.dll'