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

Notification

Icon
Error

Build Issues
MrOm3110
#1 Posted : Thursday, November 3, 2016 7:16:16 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/3/2016(UTC)
Posts: 8
Location: India

Thanks: 1 times
Hi all,

I am new to NCrunch Please guide me to build the project successfully.
I installed NCrunch on my machine but I am unable to build my project getting error the build is failure and by mistake I removed that project from ncrunch list of project I want it again to view and enable the build

------------------------
Thanks and Regards,
Omkar Hendre
Remco
#2 Posted : Thursday, November 3, 2016 7:28:53 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)
Hi Omkar,

Thanks for posting.

If you've ignored the project using your NCrunch configuration, it should be possible to turn off the 'Ignore this project completely' setting inside the NCrunch configuration for this project.

There have been some reports of projects disappearing from the configuration window after they've been ignored. If this is affecting you, it should be possible to edit the .ncrunchproject file for this project and set the 'IgnoreThisComponentCompletely' setting to 'False', then restart Visual Studio.
1 user thanked Remco for this useful post.
MrOm3110 on 11/4/2016(UTC)
MrOm3110
#3 Posted : Friday, November 4, 2016 6:49:24 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/3/2016(UTC)
Posts: 8
Location: India

Thanks: 1 times
Thank You I am able to see the Project in NCrunch windows but i need more help regarding building project .I am not able to build that project How to build particular project using ncrunch.

------------------------
Thanks and Regards,
Omkar Hendre
Remco
#4 Posted : Friday, November 4, 2016 8:19:44 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)
MrOm3110;9362 wrote:
Thank You I am able to see the Project in NCrunch windows but i need more help regarding building project .I am not able to build that project How to build particular project using ncrunch.


I'm glad that worked!

Unfortunately I cannot provide guidance on build issues without more specific information. However, most build problems are fairly straightforward to troubleshoot. I strongly recommend having a look at the build issue troubleshooting guide to see if this helps solve your problem.
MrOm3110
#5 Posted : Friday, November 4, 2016 9:23:19 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/3/2016(UTC)
Posts: 8
Location: India

Thanks: 1 times

Showing error Cannot copy Microsoft Enterprise Library to work space but i sent this option to True in configuration.

------------------------
Thanks and Regards,
Omkar Hendre
Remco
#6 Posted : Friday, November 4, 2016 10:40:33 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)
Can you copy/paste the full error message you're receiving?
MrOm3110
#7 Posted : Monday, November 7, 2016 11:42:22 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/3/2016(UTC)
Posts: 8
Location: India

Thanks: 1 times
In Status Column I am getting First Time Build what it means? Is the project build successfully or not

------------------------
Thanks and Regards,
Omkar Hendre
MrOm3110
#8 Posted : Monday, November 7, 2016 11:44:18 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/3/2016(UTC)
Posts: 8
Location: India

Thanks: 1 times
I am getting the message


NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/d...ng_project-build-issues
An unknown error has occurred - check the processing queue for more information


WARNING - C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets: MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.
WARNING - CatalogServiceTest.cs (874, 26): CS0612: 'CatalogService.GetFamily(long)' is obsolete


------------------------
Thanks and Regards,
Omkar Hendre
Remco
#9 Posted : Monday, November 7, 2016 8:12:58 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)
Hi Omkar,

This looks to be the result of an internal error. Would you be able to submit a bug report after trying to start NCrunch on this solution? You can do this using the 'NCrunch->Submit Bug Report' menu option. I should then be able to review the error and advise further.
MrOm3110
#11 Posted : Tuesday, November 8, 2016 11:09:47 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/3/2016(UTC)
Posts: 8
Location: India

Thanks: 1 times

Thank You Very Much for your valuable support.

but I am not able to see the Method Name and its code coverage percentage in HTML report. Is it possible to see the Method Name and its code coverage from particular class of Test Project

------------------------
Thanks and Regards,
Omkar Hendre
Remco
#12 Posted : Tuesday, November 8, 2016 11:12:11 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)
Hi Omkar,

Unfortunately this information isn't available under NCrunch, as the coverage data that is collected by the tool is attached to the source files instead of the assembly internals. The most detailed level that coverage percentage can be shown is source file level.
MrOm3110
#13 Posted : Tuesday, November 8, 2016 11:48:20 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/3/2016(UTC)
Posts: 8
Location: India

Thanks: 1 times
Is there is any other way to get this information because I need this kind of report to show my client.

------------------------
Thanks and Regards,
Omkar Hendre
MrOm3110
#14 Posted : Tuesday, November 8, 2016 12:09:37 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/3/2016(UTC)
Posts: 8
Location: India

Thanks: 1 times
For Example I want report like


OrderService (Test Class Name) 88.95%
GetCart (Method Name) 45.63%
GetCustomerDetail (Method Name) 85.36%
GetCardSummary (MethodName) 100%


Please if there is any other way to get the report like this in HTML format then please inform me.

------------------------
Thanks and Regards,
Omkar Hendre
Remco
#15 Posted : Tuesday, November 8, 2016 6:52:00 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)
Hi,

I am sorry but NCrunch is not able to provide this information in the structure you are asking for.
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.060 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download