Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing user-defined NameSpace
Message
De
09/07/2010 17:32:35
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
09/07/2010 17:02:26
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:
01472088
Vues:
42
>>>Hi All,
>>>
>>>I have done this a few times before, but each time I do, I have to search and learn it again.
>>>
>>>I am attempting to create a NameSpace in VB.Net. I create a new Class item. In it, I add...
>>>
>>>
>>>Namespace Test
>>>    Public class Test
>>>        Public Sub Test()
>>>            ...
>>>        end public
>>>    end class
>>>end NameSpace
>>>
>>>
>>>Then in another part of the project, I add the line
>>>
>>>Imports Test.Test
>>>
>>
>>
>>It should be:
>>
>>Imports Test
>>
>>
>>The class name isn't included in the Imports.
>
>That makes sense.
>
>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
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform