Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing user-defined NameSpace
Message
De
09/07/2010 21:20:49
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
09/07/2010 19:23:49
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Divers
Thread ID:
01472074
Message ID:
01472119
Vues:
30
>>>Ok, tried it. Get the same result. The Imports line states that it can not see the Namespace.
>>
>>Make sure you have built the project so the namespace and class would be available in the assembly.
>>Tim

>
>... by adding a reference. The project that contains the class you are using the Import statement in, needs to have a reference to the project that contains that namespace.
>
>~~Bonnie

I got the impression he was trying to access the new namespace from within the same project. Maybe not though. I have done that, well it sort of happens by default when you add a folder to the project and it adds onto the namespace. Now you have to add the using statement to prevent typing it each time. Often, I just remove that extra layer like for a folder with controls in it, I see no point in having .Controls added to the namespace.
Thanks Bonnie
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform