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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top