Why copy local with DLL in VS.NET?

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

    Why copy local with DLL in VS.NET?

    What is the difference in
    copy local = true/false

    in VS.NET when referencing a DLL? I've noticed that changes to the DLL
    (recompiling) aren't reflected in my project either way. I have to
    remove then add the DLL to see any changes.

    Thanks,
    Brett

  • Vadym Stetsyak

    #2
    Re: Why copy local with DLL in VS.NET?

    If project has copylocal = true references, the dlls to which he refers will
    be copied in the same folder, where output binary will be located.

    --
    Vadym Stetsyak aka Vadmyst
    Blog about software development, algorithms, network protocols, .NET, programming languages, tips & tricks, coding techniques and more.


    "Brett Romero" <account@cygen. com> wrote in message
    news:1134513279 .608284.157780@ g14g2000cwa.goo glegroups.com.. .[color=blue]
    > What is the difference in
    > copy local = true/false
    >
    > in VS.NET when referencing a DLL? I've noticed that changes to the DLL
    > (recompiling) aren't reflected in my project either way. I have to
    > remove then add the DLL to see any changes.
    >
    > Thanks,
    > Brett
    >[/color]


    Comment

    • Brett Romero

      #3
      Re: Why copy local with DLL in VS.NET?

      Uh, yeah, that's correct. So what good does it do you?

      Comment

      • Octavio Hernandez

        #4
        Re: Why copy local with DLL in VS.NET?

        Brett,

        This allows XCOPY deployment, i.e. you can copy the directory to another
        directory (maybe in another machine, as long as it has .NET runtime) and the
        app will run since it will find locally anything it needs.

        Regards - Octavio


        "Brett Romero" <account@cygen. com> escribió en el mensaje
        news:1134514668 .870476.55920@o 13g2000cwo.goog legroups.com...[color=blue]
        > Uh, yeah, that's correct. So what good does it do you?
        >[/color]


        Comment

        • Stephen Ahn

          #5
          Re: Why copy local with DLL in VS.NET?


          Example : you use a third party component which is installed in the GAC on
          developers PCs. However, for your clients, you might not want to have this
          same component installed in their GACs, you might just want to deploy the
          third party assemblies in the same directory as your normal application
          files. Using Local Copy true in this case, makes it easier to create to
          deployment package, since all the files you need are in the same output
          directory for your project.


          "Brett Romero" <account@cygen. com> wrote in message
          news:1134514668 .870476.55920@o 13g2000cwo.goog legroups.com...[color=blue]
          > Uh, yeah, that's correct. So what good does it do you?
          >[/color]


          Comment

          Working...