L
Lloyd Dupont
I add an app.config in my C++ project
it's not automatically renamed & added to the output directory...
any workaround?
it's not automatically renamed & added to the output directory...
any workaround?
Lloyd Dupont said:I add an app.config in my C++ project
it's not automatically renamed & added to the output directory...
any workaround?
Lloyd Dupont said:Indeed....
However, for some reason, the build event keeps failing.
I set something like that:
copy $(ProjectDir)app.config $(TargetPath).config
David Browne said:Look in your build log to see what's wrong, but this works for me:
copy /Y $(ProjectDir)app.config $(OutDir)\$(ProjectName).exe.config
where
$(OutDir)\$(ProjectName).exe
is whatever is in the Configuration\Linker\General\Output File
David