Build/Test Issues

Project settings not taken into account after project rename

Started by DanHil on 6,152 views

In the settings of a project, I changed some settings.
Then, I renamed the project:
NCrunch didn't handle this rename, i.e. the v2.ncrunchproject file hasn't been renamed as well, and so all settings I made for the project are "lost".
Sure, I can just rename that file back, however, the problem is to actually figure out why it lost the settings in the first place.
Thanks for sharing this. There is code within NCrunch to automatically rename the config file when the project is renamed ... is this something you can reproduce consistently? I'm wondering if there may have been something unique about your situation that caused this code to fail.
It's consistent and very simple to reproduce: http://screencast.com/t/YiHldTicp

At 00:51 I perform a double click on the "IgnoreThisComponentCompletely" to switch the value from False to True. Also, notice the "NCrunch engine is initializing" message at 00:52. This seems to be incorrect, too.
Excellent, thanks! I'll see if I can get this fixed.

Post a reply

Log in to reply.