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

Notification

Icon
Error

Some projects show "Not built"
georgedalessio
#1 Posted : Friday, March 6, 2015 7:04:25 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/6/2015(UTC)
Posts: 3
Location: United States of America

I have one VS2013 solution with 10 projects and NCrunch only shows 6 and some of those are showing "Not Built" in the status column.
I couldn't find any answer to the "not built" questions in the forums. Can anyone clarify why Ncrunch shows a "not built" status and why not all the projects are showing (even though when resynchronizing it does go through all 10 projects and of course VS2013 build all 10 successfully).
I'm a new user and I'm using NCrunch version 2.13.0.5
Thanks
Remco
#2 Posted : Friday, March 6, 2015 7:55:21 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)
Hi, thanks for sharing this issue.

The most likely reason I can think that a project would be stuck in 'Not built' status is if a dependency was unable to build.

What can you tell me about the projects in this solution? Is there a pattern as to which projects NCrunch isn't detecting? Have any of these projects been customised or otherwise hand-coded in the build markup?
georgedalessio
#3 Posted : Sunday, March 8, 2015 1:16:26 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/6/2015(UTC)
Posts: 3
Location: United States of America

One of the projects that is not building has:
A file that has an relative address ..\..\..\Program Files %28x86%29\....\fileabc.xml (correct reference)
References to other projects in the solution like ..\ProjA\ProjA.ABC.csproj (correct references)
References to other Microsoft and 3rd.party like ..\packages\Microsoft... (correct references)
The NCrunch workspace has 6 folders (rather than the 10 for the solution).
Is there any file or debugging tool that can be used to see why NCrunch is not building some projects?
I'll start taking away dependencies until it builds but before doing that I'm trying to see if there are any way I can see what's going on.
Thanks
Remco
#4 Posted : Sunday, March 8, 2015 1:55:12 AM(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)
The relative reference to 'Program Files' needs to be corrected - this likely won't work properly inside the NCrunch workspace and it's also dangerous to have this in case the project files are ever moved or checked out to a different location. References to program files SDKs should be specified absolutely.

I recommend setting your 'Log Verbosity' to 'Detailed' and examining the Processing Queue Window to see if there are any further details around the projects. NCrunch normally reports build failures in the Tests Window, so if there aren't any details in there, some investigation/deduction will be needed.

Do you see all of your projects in the Tests Window if all of the filters are set to show them?

Make sure none of the projects are set to be ignored by NCrunch (using the 'Ignore this component completely' setting). It's also worth having a look at the common build problems to see if any of them may fit your situation.
georgedalessio
#5 Posted : Sunday, March 8, 2015 5:18:25 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/6/2015(UTC)
Posts: 3
Location: United States of America

I'll go through that and let you know.
Thanks
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.049 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download