Confused about assembly naming with Namespace

E

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,141
Latest member
BlissKeto
Top