Reputation: 779
I have a asp.net web application(Along with solution) in a folder A at location C:/xxx/A/ I want that before each build operation, the copy of Whole folder A( Including Solution) should be copied to another location - C:/yyyy/B.
Can anyone suggest me the way to do it if its possible ?
Cheers.
Upvotes: 1
Views: 55
Reputation: 3500
xcopy "$(SolutionDir)\ToCopy" "c:\destionation" /s /y
Should worke fine.
Upvotes: 3