Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Confused about Assembly naming with Namespace

Thread Tools

Confused about Assembly naming with Namespace

Elmo Watson
Posts: n/a
OK - here's the situation - I want my namespace to be:

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:
in the assembly name box of the Application Tab (MyProject)
in the Root Namespace textbox, the only way to get it in code is:
Dim ctl as new
MyCompanyName.Controls.MyCompanyName.Controls.MyCo ntrol.myControl

In my AssemblyInfo.vb, I see:
<Assembly: AssemblyTitle("MyControl")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("MyCompanyName")>
<Assembly: AssemblyProduct("MyControl")>

where am I going wrong?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Confused about assembly naming with Namespace Elmo Watson ASP .Net Web Controls 0 09-07-2007 02:51 AM
while executing my client program i get the exception javax.naming.LinkException: [Root exception is javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: remaining if plz anybody know how to solve this problem then mahesh Java 0 03-08-2007 12:26 PM
Javax.naming Exception: name not found in naming service. Harman Java 1 07-28-2006 08:51 AM
ERROR CS0234: The type or namespace name 'DataAccessHelper' does not exist in the namespace 'BCC' (are you missing an assembly reference?) ASP .Net 0 01-06-2006 11:31 AM
ASP.NET 2.0: What is the namespace and assembly name of generated assembly SA ASP .Net 0 08-09-2004 05:09 PM