Dear sirs:
I am in the process of upgrading DotNetNuke v4.7 from VB.NET to C#.
All is going well, except for one small fly in the ointment. Please allow me to explain. There are two Login user controls. One is located in ~/Admin/Authentication folder and has this namespace:
DotNetNuke.Modules.Admin.Authentication;
The other one is located in ~/DesktopModules/AuthenticationServices folder and has the very same namespace.
However, the first one inherits from UserModuleBase and the latter, from AuthenticationLoginBase.
In any case, the VB.NET compiler doesn't bark about it, but the C# compiler does:
Error 1 Partial declarations of 'DotNetNuke.Modules.Admin.Authentication.Login' must not specify different base classes C:\Users\Rob Hyland\Documents\Visual Studio 2005\Projects\DnnWap\DnnWap\CS\DesktopModules\AuthenticationServices\DNN\Login.ascx.cs 61 24 DnnWap
It also has the side-effects of producing these two errors:
Error 2 The type 'DotNetNuke.Modules.Admin.Authentication.Login' already contains a definition for 'UseCaptcha' ...
Error 3 Type 'DotNetNuke.Modules.Admin.Authentication.Login' already defines a member called 'Page_Load' with the same parameter types ...
What should I do to resolve this "Multiple Inheritance" issue? Why doesn't VB care about that?
Your prompt consideration is greatly appreciated.
namespace