Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB and Namespaces Arggg
Message
De
03/03/2008 18:45:29
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
VB and Namespaces Arggg
Divers
Thread ID:
01298281
Message ID:
01298281
Vues:
97
Ok, I am loosing my mind. I have been working in C# for awhile and now doing a project in VS2008 with VB. I am trying to use namespaces but seems it works differently than in C#. I don't remember this to be the case when I did some VB back in VS2003.

I have a project named:
MyApplication.Web.Base
In this I have a folder named Forms and the namespace on my base form is:
Namespace MyApplication.Web.Base.Forms with a class of WebPageBase

When I try to reference this inside the web application project I did this:
Import MyApplication.Web.Base and tried to reference Forms.WebPageBase

Intellisense tells me I have to reference this full namespace
MyApplication.Web.Base.MyApplication.Web.Base.Forms.WebPageBase

This seems a little silly to me. Is there some kind of automatic "Add the project name to the namespace" setting I need to turn off somewhere?

Any help appreciated.
Thanks
Tim
Timothy Bryan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform