copy all files inside solution to another location after successful build
-
19-08-2019 - |
Question
I'm working on Visual Studio 2008, C# and i have a solution which refers to 3 projects in the same directory. I want to copy all files and folders containied inside the solution to an another location after each successful build. How can i do that?
Solution
In my opinion a custom MsBuild Target would be more appropiate here since you could have only one place where the copy is defined and more importantly the copy should probably only be performed when all projects build sucessfully iso a copy of each sucessfully build project.
If you don't like msbuild you could also check out PSake
OTHER TIPS
You can do this with a Post Build Event.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow