By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,983 Members | 1,597 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,983 IT Pros & Developers. It's quick & easy.

Why use and what is project reference

P: n/a
Hello!

I use C# and VS 2003

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
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.

//Tony


Mar 26 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Tony Johansson wrote:
Hello!

I use C# and VS 2003

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
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.

//Tony

If you have multiple projects in a solution, you can modify any one of
them, and rebuild all of them to incorporate any changes in any of
them. That way all the individual projects will be aware of the changes.

However, if the interface in the dll projects doesn't change, then
there's no necessity for using project reference.

T
Mar 26 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.