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!
Asked
Active
Viewed 2,839 times
2 Answers
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
- 7,834
- 2
- 22
- 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
- 27,901
- 5
- 84
- 103