Re: Why use and what is project reference

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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@xxxxxxxxx> wrote in message
news:MzxVf.49892$d5.206376@xxxxxxxxxxxxxxxxxx
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







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








.



Relevant Pages

  • Re: Why use and what is project reference
    ... My exe file is using several class dll(assume we called then 1,2,3,4,5,6) and some of these 6 class dll is using some of the other 5 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 ... I mean that I must use that add reference and select the .NET tab and then select the actual class dll. ...
    (microsoft.public.dotnet.languages.csharp)
  • Why use and what is project reference
    ... 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 ... I mean that I must use that add reference and select the .NET tab and then ...
    (microsoft.public.dotnet.framework)
  • Why use and what is project reference
    ... and some of these 6 class dll is using some of the other 5 class dll. ... If I have a class Dll called Test.dll that I want to add a reference to I ... Microsoft recommend that people should use project reference I just wonder ... I mean that I must use that add reference and select the .NET tab and then ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Computing big numbers
    ... In CS, Knuth ... In giving a reference it is necessary to make a judgement of what is ... this is not a good reason for dismissing certification. ... >> Knuth's TAOCP is the right place to start. ...
    (sci.crypt)
  • Re: Creating a Microsoft Word document - request 2
    ... But do you know how to add this statement into the .net tab so ... that the reference can be added. ... "Cowboy (Gregory A. Beamer)" wrote: ...
    (microsoft.public.dotnet.general)