To copy content files to an output folder, one could set the
Copy to output directory property of a file to "Copy always".
Alternatively, one could add a post-build event:
XCOPY "$(ProjectDir)Templates" "$(TargetDir)" /E /I /F /Y
(or sth like that).
The problem is as following:
I often have errors related to data files which are read by my application. Usually they are related to a syntax, a missing semicolon etc. In such cases C# source code isn't changed anywhere and therefore VS does not recompile anything. Post-build events aren't fired and in result I have to push "rebuild [projectname]" to force copying content files. It is irritating, because:
1) sometimes I forgot about it and search for a non-existent error.
2) project is becoming bigger and bigger and a compilation takes time.
I know a quick-and-dirty solution -- manually run a batch script each time, but it wouldn't solve  problem.
=> Setting a
Build Action to "None" doesn't make it.
Greetings -- Jacek.