I've been having issues today with NCrunch randomly failing to build my project.
It initially starts of ok, I make some changes, NCrunch reports 1 or 2 "projects are failing the build". No errors highlighted with VS build or R#.
I hit resynchronise or reload VS and it will build and test, then when I make changes it fails again.
I had a look on the
troubleshooting build issues wiki page and nothing helped, after a bit of digging in the NCrunch Processing Queue I discovered the issue.
I'm using a 1G RAM disk for NCrunch...
[13:57:25.8811-BuildTask-67] ERROR (Internal): System.IO.IOException: There is not enough space on the disk.
The Ram disk was indeed full, full of NCrunch/VS files.
When VS is closed and re-opened the disk gets emptied and then filled again. 10 projects, 10 subfolders below the NCrunch\xxxxx folder. Taking up the full 1G, if I compare that to another project of similar size it only uses 72MB which is more what I was expecting.
I've just enabled NuGet restore on that second project and it now fills the Ram disk taking up the 982MB that were available.
Steve.