make an MSBuild Copy Task only copy if the source is newer regardless of size

后端 未结 2 2004
醉酒成梦
醉酒成梦 2021-02-05 17:45

I\'m currently using an msbuild file to copy some files to the public documents folder when my EXE is compiled. My current script includes this:



        
2条回答
  •  忘掉有多难
    2021-02-05 18:10

    I think you may have misread the docs:

    SkipUnchangedFiles

    If true, skips the copying of files that are unchanged between the source and destination. The Copy task considers files to be unchanged if they have the same size and the same last modified time.

    http://msdn.microsoft.com/en-us/library/vstudio/3e54c37h.aspx

提交回复
热议问题