Hello!

I use C# and VS 2003

My exe file is using several class dll

If I have a class Dll called Test.dll that I want to add a reference to I
use the add reference in project settings and select the.NET tab and then
brows to the directory and then
select the class dll called Test.dll.

Microsoft recommend that people should use project reference I just wonder
what does this mean actually and what advantage do I get. I just can't
understand what it means.

I mean that I must use that add reference and select the .NET tab and then
select the actual class dll otherwise I get error because it can't find the
class library.

//Tony







--------------------------------------------------------------------------------





begin 666 p.gif
M1TE&.#EAL0`-`( `````_____R'Y! ``````+ ````"Q``T```+MC(^IR^T/
MHYRTV@6ROD?OGB5 ,V)&R:5D>+;FVZFHZL8!.L\B4^HTC:OQA@@?Q<C1C91%
MVXTD_,EV2.>NF?(M3RRNENH(UC[/LJ?8/8."O2KVBF/UKD[R]M;URN<N\?KC
MYO=E-J; 1]C'YQ;55WB'YG'85F@UIA9)]S:TE0/8:"EG@UG&J,:(J&3$A.>I
MEV-820H[6\E)*J8HJONI*0O5E M,RUM'](9;:ZQJA8SH+$G9_- ,?1@%?<L\
M3,8Z+))W_!UJQGU9GH8V80=*>;W&#"XEGQ2Q.'^/GZ_O;8P?^0\PH,"!!.WM
(.X@PX;X"`#L`
`
end

Re: Why use and what is project reference by Kevin

Kevin
Sun Mar 26 10:06:35 CST 2006

Hi Tony,

> Microsoft recommend that people should use project reference I just wonder
> what does this mean actually and what advantage do I get. I just can't
> understand what it means.

A Solution is made up of multiple Projects. To add a reference to a Project,
you add the Project to the Solution, and then add a reference to that
Project, rather then the DLL. This enables you more debugging control, as
you can step through the methods of the referenced Project DLL, and if you
make any changes to that Project, they are updated when you rebuild the
Solution.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.

"Tony Johansson" <johansson.andersson@telia.com> wrote in message
news:MzxVf.49892$d5.206376@newsb.telia.net...
> Hello!
>
> I use C# and VS 2003
>
> My exe file is using several class dll
>
> If I have a class Dll called Test.dll that I want to add a reference to I
> use the add reference in project settings and select the.NET tab and then
> brows to the directory and then
> select the class dll called Test.dll.
>
> Microsoft recommend that people should use project reference I just wonder
> what does this mean actually and what advantage do I get. I just can't
> understand what it means.
>
> I mean that I must use that add reference and select the .NET tab and then
> select the actual class dll otherwise I get error because it can't find
> the class library.
>
> //Tony
>
>
>
>
>
>
>
> --------------------------------------------------------------------------------
>
>
>
>
>
>