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

Notification

Icon
Error

(Minor) NCrunch leaves redundant files when renaming projects/solutions
Strilanc
#1 Posted : Wednesday, January 30, 2013 5:32:58 AM(UTC)
Rank: Member

Groups: Registered
Joined: 4/3/2012(UTC)
Posts: 17

Thanks: 1 times
I've noticed that when I rename a project or solution, ncrunch will create new settings files (e.g. the .ncrunchproject file), but not delete the old ones. Also, I sometimes need to re-enable ncrunch when I re-open the solution.
Remco
#2 Posted : Wednesday, January 30, 2013 8:47:35 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Thanks for reporting this - I'll note it down for fix. Can you provide some more details around what happens with the engine before you need to re-enable it? Is it just that it doesn't enable itself? Or does it bug out?
Strilanc
#3 Posted : Wednesday, January 30, 2013 8:59:06 PM(UTC)
Rank: Member

Groups: Registered
Joined: 4/3/2012(UTC)
Posts: 17

Thanks: 1 times
Remco;3618 wrote:
Thanks for reporting this - I'll note it down for fix. Can you provide some more details around what happens with the engine before you need to re-enable it? Is it just that it doesn't enable itself? Or does it bug out?


It just didn't enable itself, and I had to go through the enabling wizard again.
Remco
#4 Posted : Thursday, January 31, 2013 2:05:56 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
My suspicion is that when this happens for you, the reason is probably because NCrunch wasn't able to access the .ncrunchsolution file for your solution. This file contains a property called AutoEnableOnStartup, which is set whenever you enable or disable NCrunch. Is it possible that you have this file locked somehow? Perhaps using a read-only flag?

If NCrunch is losing other settings too, there may be something more catastrophic going on (i.e. source control system nuking the config files). Let me know if you manage to find a clear pattern that causes the problem, and I'll try to help you analyse it.
Remco
#5 Posted : Saturday, March 30, 2013 10:20:27 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
For anyone interested, a fix for the above problem (rename of projects) has been introduced with the newly released version of NCrunch (v1.45).
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.038 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download