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

Notification

Icon
Error

Improve NCrunch Cache Storage Path management
SchlaWiener
#1 Posted : Thursday, January 21, 2016 11:55:00 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/18/2014(UTC)
Posts: 2
Location: Germany

I recently switched from Visual Studio 2013 to 2015 and currently I am evaluating the latest version of NCrunch.

I am using the visual studio git provider and NCrunch informed me about performance issues because of the Microsoft Git Provider scanning the files inside _NCrunch_SolutionName folder.

The solution is to redefine NCrunch Cache Storage Path to point somewhere else, which I did. However I am not happy with this for a couple of reasons.

1. I have to do this for every solution, and since I already have multiple topic branches per project in git this will require me to set the value many many times. A global setting would be much better.
2. To maintain backward compability a global variable "NCrunch Cache Storage Root" could be introduced which defaults to SolutionDir.
3. Already asked here: http://forum.ncrunch.net...r-Git-repositories.aspx Being able to use environment variables would be helpful. I already configured my virus scanner to exclude %localappdata%\NCrunch so I would place the cache dir inside.
Remco
#2 Posted : Thursday, January 21, 2016 12:02:19 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 932 times
Was thanked: 1259 time(s) in 1172 post(s)
Hi, thanks for sharing your feedback on this.

I've already been looking at adding support for environment variables in this setting.

There is also a long term plan to implement a more sophisticated configuration system that would allow many of the configuration options to be specified at different levels, with more granular options to override them in specific cases. This is being done in recognition of the fact that many people have far more specialised needs for the current set of config options than the existing config system can conveniently handle. Such a system would, in theory, allow you to set this value globally.
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.025 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download