Automatically copy files to build location

  • Thread starter Thread starter Greg Bacchus
  • Start date Start date
G

Greg Bacchus

I'm just wondering if there is any way of automatically copying misc project
files (such as, say, XML files) to the build output directory when the
project is built?

Cheers
Greg
 
Write a batch file that copies the file(s) and make that a postbuild action.
Go to project settings/BuildEvents and specify the batch file on the
post-build event command line.
 
This would copy the files after EVERY build, so if the files don't change much, I'd copy them manually.
 
Back
Top