开发者

Does Visual Studio 2010 copy assemblies with "Copy Local = true" on every build?

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开发者_JAVA百科 there a setting available that will copy only if the assembly has changed? Thanks!


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).


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜