Project References or Assembly References?

U

User1013

What is the recommended method of referencing libraries in Visual Studio
2005. Project references or Assembly references?
 
D

Dustin Campbell

What is the recommended method of referencing libraries in Visual
Studio 2005. Project references or Assembly references?

If they are in the same solution, use project references because they are
more resistent to changes. So, if you change the output filename of a project,
the reference will still work.

Best Regards,
Dustin Campbell
Developer Express Inc.
 
G

Guest

Project references are for additional projects in the same solution. The
output of each build will be referenced. Assembly references are for compiled
assemblies. Those are the framework dlls, extra assemblies in the GAC, and
3rd party assemblies.
 
J

Jim H

When dealing with your own code use project references. If the project is
not part of the solution, add it. This way if the code for any of the
referred projects, those projects will automatically be rebuilt and the new
dlls will be brought in and referenced by your exe.

..02
jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top