Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Adding class library to website

Reply
 
Old 07-21-2008   #1 (permalink)
Fresno Bob


 
 

Adding class library to website

What is the default namespace of the class library?

Try typing

DAL.
and see if stuff starts "appearing".

Other way

using DAL;
or
imports DAL

AGain, I"m guessing "DAL", you need to check your namespace for your code.




"Fresno Bob" <nospam@xxxxxx> wrote in message
news:%23kQwgvv6IHA.3684@xxxxxx
Quote:

> Hi I am used to using the App_Code folder to put my DAL and BLL classes.
> However I want to move toward using separate dll's so I can start doing
> things like Unit Tests and using Sandcastle for documentation.
>
> My class library DAL project contains 4 .vb files, each one containing a
> single class, which maps to a DB table.This builds OK.
> I then create a website and add the class library project to the website.
> I
> then in the website a reference to the project. This builds OK. And I can
> see the DLL in the bin folder of the website.
>
> When I go to add code I can't figure out how to "reference" my DAL - it
> doesn't appear in the intellisense. I know this will be stupid but I
> can't
> figure it out.
>
> Regards, Chris.
>
>

My System SpecsSystem Spec
Old 07-21-2008   #2 (permalink)
sloan


 
 

Re: Adding class library to website

What is the default namespace of the class library?

Try typing

DAL.
and see if stuff starts "appearing".

Other way

using DAL;
or
imports DAL

AGain, I"m guessing "DAL", you need to check your namespace for your code.




"Fresno Bob" <nospam@xxxxxx> wrote in message
news:%23kQwgvv6IHA.3684@xxxxxx
Quote:

> Hi I am used to using the App_Code folder to put my DAL and BLL classes.
> However I want to move toward using separate dll's so I can start doing
> things like Unit Tests and using Sandcastle for documentation.
>
> My class library DAL project contains 4 .vb files, each one containing a
> single class, which maps to a DB table.This builds OK.
> I then create a website and add the class library project to the website.
> I
> then in the website a reference to the project. This builds OK. And I can
> see the DLL in the bin folder of the website.
>
> When I go to add code I can't figure out how to "reference" my DAL - it
> doesn't appear in the intellisense. I know this will be stupid but I
> can't
> figure it out.
>
> Regards, Chris.
>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Icons in dll / assembly / class library .NET General
Re: invisible classes outside the Class Library .NET General
Using a C# Class Library with VB6 .NET General
Summary comments in Class Library .NET General
How do I check if class library is being used by web or windows ap .NET General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46