How to copy a folder recursively with out overwriting the previous one

Posted on Stack Overflow See other posts from Stack Overflow
Published on 2009-09-02T05:47:52Z Indexed on 2010/05/19 10:30 UTC
Read the original article Hit count: 209

Filed under:
|

what i need is i have linked my project with the cruise control, so when ever a build happens i want to copy the bin folder to a seperate destination folder with version number. That is when the project build happens for the second time i dont want to replace the bin folder of the first build i want to save this with another version number.

How can i do that.

Right now i got the thing how to copy the folder but it was overwriting the previous one. i dont want that to happen

please help me how to implement the concept of versioning.

© Stack Overflow or respective owner

Related posts about msbuild

Related posts about msbuild-task