I'd like to copy project files and folders to the bin\debug folder on successful build.
I'm trying to get xcopy to do it, but it either copies 0 files or tells me it can't copy cyclicly.
What I'm trying to do is similar to this question:
Here's my batch file:
@echo off
REM Set up the files and folders to exclude
echo \bin\ > exclude.txt
echo exclude.txt >> exclude.txt
echo Helper.cs >> exclude.txt
echo Program.cs >> exclude.txt
REM Set up the variables
set sourceBase="D:\Devprojects\WebApplications\GenerateTabbedHTML"
set destinationBase="D:\Devprojects\WebApplications\GenerateTabbedHTML\bin\Debug\"
set params=/E /C /I /R /Y /Exclude:exclude.txt
xcopy %sourceBase% %destinationBase% %params%
Am I going about this the right way? Or is there an easier way to accomplish this?