我已将NCrunch cache storage path设置为%TEMP%\NCrunchCache。但是,我得到以下错误:
NCrunch was unable to access the directory
'C:\src\solutionFolder\%TEMP%\NCrunchCache' as specified in the configuration for this solution.
Cache data will instead be stored in the default location文档认为这是可能的:
在NCrunch v2.20中,此设置支持指定环境变量(即‘%MyCacheRootDir%\MyS卷积’)
我遗漏了什么?
发布于 2016-07-13 10:32:22
自从更改环境变量以来,您是否尝试过重新启动VS?当您启动一个进程时,它会获得环境变量的副本,所以如果VS是在您更改它之前打开的,那么您可能正在使用旧的变量。
我会考虑关闭所有VS实例,然后确保任务管理器中没有任何NCrunch.BuildHostXXX.x86.exe进程。
https://stackoverflow.com/questions/38348493
复制相似问题