Thanks for sharing this problem. Could you clarify the purpose of this pre-build event? Is this trying to copy files from another project in your solution? If so, this may break NCrunch's project atomicity constraints.
Yes, it copies angular app into web project, but Ncrnch is only testing c# MVC side so it should build project as normal. Especially because it executes prebuild task fine once the folder exist...
Ahh, sorry I just realised I missed that the folder was empty. Yes, this would be a known constraint. NCrunch identifies file dependencies using MSBuild, so if there is no file in the folder, it won't be represented when the project is loaded.
The easiest way to work around this is to just add a step to the pre-build event that will create the missing folder if it doesn't exist, or otherwise make the step conditional on the folder existing.