Re: Copy file to debug folder

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Have you tried copying it doing a post build step in the project settings?

Tom

"JoeB" <joe@xxxxxxxxxx> wrote in message
news:eO%23saKk4GHA.2596@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

In my project i have a text file that is required by my application. I
have included it in the project, but the file is not copied to the debug
folder in the solution when i build.

I have set the "deployable content" for the file, but still it is not
copied to the output directory during the build.


In C#, setting this flag copies the file during build.

How do i do this in an MFC project?



J


.