Hello! I have an .aspx page where I register a simple Custom Control. When I run the C# version of the project in 2002 Visual Studio.NET IDE, I get:
Compiler Error Message: CS1595: MyCustomControls.CustomControl1 is defined in multiple places; using definition from c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\aspnet21days_ch6_custommade1\d3785e63\d65d6407\assembly\dl2\616735d8\14e5d5fc_ceffc301\CustomControl.DLL
I rewrote the project in VB.NET and it worked fine.
I think I heard there was some bug related to this with specifically C#. Anyone have any solutions to this problem? My project has to be done in C#.
By the way, in both versions of the project, I am manuallly compiling the user control into MSIL DLL using the Command Prompt to the corresponding "/bin" directory in each project.
Thank you!
-ricardo
Compiler Error Message: CS1595: MyCustomControls.CustomControl1 is defined in multiple places; using definition from c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\aspnet21days_ch6_custommade1\d3785e63\d65d6407\assembly\dl2\616735d8\14e5d5fc_ceffc301\CustomControl.DLL
I rewrote the project in VB.NET and it worked fine.
I think I heard there was some bug related to this with specifically C#. Anyone have any solutions to this problem? My project has to be done in C#.
By the way, in both versions of the project, I am manuallly compiling the user control into MSIL DLL using the Command Prompt to the corresponding "/bin" directory in each project.
Thank you!
-ricardo