Project References or Assembly References?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • User1013

    Project References or Assembly References?

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

    #2
    Re: Project References or Assembly References?

    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.


    Comment

    • Mr Icekirby

      #3
      RE: Project References or Assembly References?

      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.

      "User1013" wrote:
      What is the recommended method of referencing libraries in Visual Studio
      2005. Project references or Assembly references?
      >

      Comment

      • Jim H

        #4
        Re: Project References or Assembly References?

        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


        "User1013" <abc@231245o.1f .co.ukwrote in message
        news:eiqd0e$2p1 f$1@custnews.in web.co.uk...
        What is the recommended method of referencing libraries in Visual Studio
        2005. Project references or Assembly references?

        Comment

        Working...