content files

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

Hi,

If you have files in your project (like text files and bmp files stuff like
that, and config files) and want to have it copied to the bin folder at
build (i thought setting the build action to content did this but it
doesnt?) how can i get them to copy at each build? thanks
 
* "Brian Henry said:
If you have files in your project (like text files and bmp files stuff like
that, and config files) and want to have it copied to the bin folder at
build (i thought setting the build action to content did this but it
doesnt?) how can i get them to copy at each build? thanks

For the application configuration, name the file "App.config" and add it
to your project. VS.NET will automatically copy it into the "bin"
folder and rename it accordingly. For the other files, you can create a
batch file that copies the files to the "bin" folder.
 
Back
Top