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

Notification

Icon
Error

Stuck at "Loading projects (37 of 36)"
johnmwright
#1 Posted : Tuesday, July 19, 2016 9:54:06 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 9/27/2011(UTC)
Posts: 45
Location: Chicago, IL

Thanks: 3 times
Was thanked: 7 time(s) in 6 post(s)
I'm adding NCrunch to a new project (I changed jobs, so starting from scratch).

Initially, NCrunch had a lot of build errors, so I've been modifying the configuration to try and resolve them. When I change 'Infer project references using assembly names" to "True", NCrunch never fully loads and sits at the "Loading projects (37 of 36)" message. NOTE: that's not a typo.. it says it's loading the 37th of 36 projects.

This solution has a mixture of C#, C++ and VB.NET projects, if that matters.

Turning the "Infer.." setting back to "False" resolves the issue. Flip back to "True" and the issue returns.
johnmwright
#2 Posted : Tuesday, July 19, 2016 9:55:39 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 9/27/2011(UTC)
Posts: 45
Location: Chicago, IL

Thanks: 3 times
Was thanked: 7 time(s) in 6 post(s)
FYI: I submitted a report from within Visual Studio referencing this forum post.
Remco
#3 Posted : Tuesday, July 19, 2016 11:45:54 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Thanks for sending through the bug report.

This seems to be a downstream problem caused by one of the projects failing to load. Try turning off the setting and examining the list of load errors. One of these projects doesn't seem to have normal platform/configuration settings, see http://www.ncrunch.net/documentation/considerations-and-constraints_project-build-platform-and-configuration for more details on this.

I've implemented a fix for this that will be released in v2.24. To get this solution working immediately, I recommend fixing the project load failure.

As crazy as it looks, the 37/36 issue is actually by design. While NCrunch loads your projects, it also identifies any dependencies these projects may have on other projects outside the solution. NCrunch will then load these dependencies recursively, so it can actually load more projects than are listed in the solution.
Remco
#4 Posted : Wednesday, July 20, 2016 7:50:31 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
The fix for this issue is now available as part of v2.24.
johnmwright
#5 Posted : Wednesday, July 20, 2016 1:28:10 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 9/27/2011(UTC)
Posts: 45
Location: Chicago, IL

Thanks: 3 times
Was thanked: 7 time(s) in 6 post(s)
Yes, there are definitely some non-normal platform/configuration settings in play. Thanks for looking into this. Love your product and it's become one of my primary dev tools!
1 user thanked johnmwright for this useful post.
Remco on 7/20/2016(UTC)
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.032 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download