Using VS 2008 I want to copy files in the project folder to the /Debug folder on each build.
How can you do that?
There's an answer for C# but it doesn't work for VC++ (xml parse error on project load)
Using VS 2008 I want to copy files in the project folder to the /Debug folder on each build.
How can you do that?
There's an answer for C# but it doesn't work for VC++ (xml parse error on project load)
Disclaimer: This works in .Net development.
In your solution explorer select the file you wish to have copied. Then in the properties panel under "Build action" select "Copy to output".
This should solve your problem.
It's a long time since I last used VC++, but I guess you still have possibility to define post-build steps, e.g. to copy files into the output folder (debug or release). Check the property page for your project ("Build Events") and you should be able to find it there.
Simply changing the settings for "Copy to output directory" should work. There are special cases, like embedding the thing (see this related question), but normally it should be just fine.