Build/Test Issues

Problem with "Additional files to include"

Started by ScottBeard on 5,567 views

Hi, I added a directory to a project configuration (using <directory>\**.*) but one of the files in there wasn't being copied to the actual build folder.

After some investigation it would appear that the copy process doesn't work with files that have spaces in them - My file was called "Tlt 1.doc" and wasn't being copied, even after rebuilding project *and* completely emptying the ncrunch build folder. Renaming the file to "Tlt_1.doc" worked.
Hi, thanks for sharing this issue.

Can you give a bit more clarity on how you've included the file? Was this using a build item inside the project XML, or the 'Additional files to include' setting?
Actually, you can ignore this, I've just found out something else was wrong in a different part of the code, which was deleting the file!
Great, thanks! This one had me quite confused :)

Post a reply

Log in to reply.