Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Namespaces and Imported Namespaces
Message
From
23/04/2007 14:17:44
 
 
To
22/04/2007 12:32:48
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01217857
Message ID:
01219027
Views:
16
Hi Bonnie,

I was trying to set a project wide imports statement so that I don't have to add Imports Membership.Library in each program I work on. Everything seems to be fine, I'm just trying to understand why Membership shows up in the list of namespaces to import rather than Membership.library.

>I'm not sure how different VB is to C# in this respect, but since you were able to add the reference to Membership.library to your WindowsUI project, can't you simply use the Import statement in your code?
>
>
>Import Membership.library
>
>
>This would be similar to C#'s using statement:
>
>
>using Membership.library;
>
>
>As soon as I type "Membership." then Intellisense should show me the "library" as long as I have added the reference to the project.
>
>I guess my reply doesn't really help you at all, since I don't use VB, but I guess I'm mainly trying to get you to explain a bit more what you're seeing and/or not seeing so someone else with some VB knowledge might kick in an answer.
>
>~~Bonnie
>
>
>
>>Hi,
>>
>>in my first foray into developing with .NET I have created a Solution with two Projects in it. The first project is called Membership.library and has my Business Objects in it. The second Project is called Membership.WindowsUI and is the Windows User Interface .
>>
>>In the WindowsUI project I have added a project reference to the Membership.library. I want to also Import the namespace from this project, so I have looked in the Imported Namespaces section on the References tab, but do not see Membership.Library as a namespace. I do however see Membership as a name space. I double checked in the Application tab for Membership.library and the root namespace given there is Membership.library.
>>
>>How come I only see a Membership namespace to import not Membership.library?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform