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 - In any project, Can't we refer classes directly, (without addingphysically in the project)?

Reply
 
Old 03-28-2008   #1 (permalink)
Rachana


 
 

In any project, Can't we refer classes directly, (without addingphysically in the project)?

Hi !
I am new to .net. Presently, Working in vb.net 1.1
i have Created one class project and one client project (2 separate
solutions)
In the client project , if I try to ' add reference' for class,
nothing is shown under project bar.
I have to cumpulsorily add class project into my client project (add
existing class), then only it shows class name under reference-
project
bar.
does it mean every time I have to add required no. of classes
physically, in any project? Then again give the reference of each?
Can't it directly refered without adding physically?

In Class project, I have used 'build Solution' from menu bar.
In Client project, I tried 'browse' option,too.
But it does not show class name untill physically added. ( file type:
component files)

What is the way to generate DLL?

Thanks,
Regards,
Rachana

My System SpecsSystem Spec
Old 03-28-2008   #2 (permalink)
EagleRed


 
 

RE: In any project, Can't we refer classes directly, (without adding p

You need to set a reference to the assembly containing the class. This will
allow you to set up a namespace in your client project and then you can
reference classes in the referenced assembly.

Eagle

"Rachana" wrote:
Quote:

> Hi !
> I am new to .net. Presently, Working in vb.net 1.1
> i have Created one class project and one client project (2 separate
> solutions)
> In the client project , if I try to ' add reference' for class,
> nothing is shown under project bar.
> I have to cumpulsorily add class project into my client project (add
> existing class), then only it shows class name under reference-
> project
> bar.
> does it mean every time I have to add required no. of classes
> physically, in any project? Then again give the reference of each?
> Can't it directly refered without adding physically?
>
> In Class project, I have used 'build Solution' from menu bar.
> In Client project, I tried 'browse' option,too.
> But it does not show class name untill physically added. ( file type:
> component files)
>
> What is the way to generate DLL?
>
> Thanks,
> Regards,
> Rachana
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Hp m9040n project General Discussion
Cannot create new project .NET General
Project playlist Chillout Room
web.config vs. My Project .NET General
Microsoft Advances Its Project Management Technology and the Project Management Profession Vista News


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