Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Problem with "Additional files to include"
ScottBeard
#1 Posted : Thursday, August 20, 2015 9:30:40 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/20/2015(UTC)
Posts: 2
Location: United Kingdom

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.
Remco
#2 Posted : Thursday, August 20, 2015 10:07:55 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
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?
ScottBeard
#3 Posted : Thursday, August 20, 2015 10:09:48 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/20/2015(UTC)
Posts: 2
Location: United Kingdom

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!
Remco
#4 Posted : Thursday, August 20, 2015 10:11:09 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Great, thanks! This one had me quite confused :)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.044 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download