1

I have what I hope is a simple question: if I have a file reference set to an assembly on a network share with "Copy Local = true", will that assembly be copied on every single build? And if so, is there a setting available that will copy only if the assembly has changed? Thanks!

LandonC
  • 889
  • 1
  • 16
  • 28

2 Answers2

2

No it is not copied every time, only if the shared assembly is newer.

Here is a really good thread about Copy Local best practices and one discussing how it works (note the GAC discussion).

Community
  • 1
  • 1
BrandonZeider
  • 8,014
  • 2
  • 23
  • 20
1

No it will not be copied every time, only when changed.

You can check this by building, waiting a while, rebuilding and looking at timestamps of the files.

Victor Hurdugaci
  • 28,177
  • 5
  • 87
  • 103