Rank: Newbie
Groups: Registered
Joined: 7/10/2018(UTC) Posts: 6
|
NCrunch Console Tool starting from the version v3.17.0.2 gives me this error:
ERROR: The NCrunchCacheStoragePath must be set when using the console tool. NCrunch needs to store its cache outside of the solution directory to function properly.
which results in Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path ...\TestResultsInNUnitFormat.xml.
Any hints?
Thanks, Stipe
|
|
|
|
Rank: NCrunch Developer
Groups: Registered
Joined: 9/22/2017(UTC) Posts: 306 Location: Netherlands
Thanks: 138 times Was thanked: 73 time(s) in 69 post(s)
|
Since version 3.15 the NCrunchCacheStoragePath option needs to be set. You can do this from the CLI parameters or in the referenced configuration. This option always should be set when using the console tool under a CI system for the console tool to function properly between different runs.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 7/10/2018(UTC) Posts: 6
|
I have this option set in the ncrunch solution configuration. Is there any other way I need to set this? What changed in 3.15 because before we didn't have the issue?
|
|
|
|
Rank: NCrunch Developer
Groups: Registered
Joined: 9/22/2017(UTC) Posts: 306 Location: Netherlands
Thanks: 138 times Was thanked: 73 time(s) in 69 post(s)
|
Thanks for coming back so quickly. Would you mind trying to set the configuration from the CLI or the configuration file that is supplied to the console tool? I would like to make sure that that solves the problem.
In version 3.15 we added a check at the start of the console tool that checks if this option is set, we did this because not setting this could give a lot of unintended side effects (like broken impact detection).
|
|
|
|
Rank: NCrunch Developer
Groups: Registered
Joined: 9/22/2017(UTC) Posts: 306 Location: Netherlands
Thanks: 138 times Was thanked: 73 time(s) in 69 post(s)
|
Hi,
We had a closer look at this. We've found an issue with this and we will fix this. As a work around specifying the setting via the command line should work.
Thanks for bringing this to our attention!
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 7/10/2018(UTC) Posts: 6
|
Ok, thank you for the quick response.
|
|
|
|
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.NETThis page was generated in 0.121 seconds.