content files by: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
|
| | Reply: by:hirf-spam-me-here@gmx.at (Herfried K. Wagner [MVP])
|
| | * "Brian Henry" <brianiupmsdn@newsgroups.nospam> scripsit: > 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.
-- Herfried K. Wagner [MVP]
|
| | Reply: by:Brian Henry
|
| | what is the difference between content and none then?
|
| | Reply: by:hirf-spam-me-here@gmx.at (Herfried K. Wagner [MVP])
|
| | * "Brian Henry" <brianiupmsdn@newsgroups.nospam> scripsit: > what is the difference between content and none then?
If it's content, it will be included in a setup package, AFAIK.
-- Herfried K. Wagner [MVP]
|
| | Reply: by:Brian Henry
|
| | thanks!
|
0 Comments:
Post a Comment