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

Notification

Icon
Error

Project settings not taken into account after project rename
DanHil
#1 Posted : Thursday, September 25, 2014 5:33:41 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 11/12/2012(UTC)
Posts: 85

Thanks: 11 times
Was thanked: 3 time(s) in 3 post(s)
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.
Remco
#2 Posted : Thursday, September 25, 2014 11:05:09 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
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.
DanHil
#3 Posted : Friday, September 26, 2014 5:37:05 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 11/12/2012(UTC)
Posts: 85

Thanks: 11 times
Was thanked: 3 time(s) in 3 post(s)
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.
Remco
#4 Posted : Friday, September 26, 2014 12:28:52 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Excellent, thanks! I'll see if I can get this fixed.
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.028 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download