Home All Groups Group Topic Archive Search About

Confused about assembly naming with Namespace

Author
7 Sep 2007 2:51 AM
Elmo Watson
OK - here's the situation - I want my namespace to be:
MyCompanyName.Controls

I want my custom web control to be called:
MyControl (myControl.dll, or MyCompanyName.Controls.MyControl.dll - whatever
is expected)

Then, when I declare it in the project, it will be like this:
Dim ctl as new MyCompanyName.Controls.MyControl

However, after putting:
MyControl
in the assembly name box of the Application Tab (MyProject)
and
MyCompanyName.Controls
in the Root Namespace textbox, the only way to get it in code is:
Dim ctl as new MyCompanyName.Controls.MyCompanyName.Controls.MyControl

where am I going wrong?

AddThis Social Bookmark Button