I have a failing test in a test project which references another project which has a content file in Template/SMS.txt.
When I delete the bin and obj folders in the test project then rebuilt it in VS the file exists as expected under the Template folder in the test project's bin path and the test passes using the built in MS test runner and the ReSharper test runner.
When I run the test with NCrunch, it fails. When I look at the NCrunch output dir (using the "Browse to workspace" method outlined here: https://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies) I don't see the Template folder.
I've tried using the "Additional Files To Include" configuration and also creating a "Link" in VS to the file under a Template folder local to the test project, still no luck.
Can anyone supply any guidance?
Build/Test Issues
Content files in dependent project not being copied to output
Started by metcalfam on 2,001 views
Remco NCrunch Developer
#13411
24 Apr 2019 00:31 UTC
Hi, thanks for posting!
This is caused by NCrunch's project atomicity constraints. It's a common problem that is fairly well documented and there are solutions available.
This is caused by NCrunch's project atomicity constraints. It's a common problem that is fairly well documented and there are solutions available.
Edited 24 Apr 2019 00:32 UTC
Post a reply
Log in to reply.