Build/Test Issues

Build Issues

Started by MrOm3110 on 11,130 views

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
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.
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.
MrOm3110 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.

Showing error Cannot copy Microsoft Enterprise Library to work space but i sent this option to True in configuration.
Can you copy/paste the full error message you're receiving?
In Status Column I am getting First Time Build what it means? Is the project build successfully or not
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/documentation/troubleshooting_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

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.
This post has been deleted.

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
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.
Is there is any other way to get this information because I need this kind of report to show my client.
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.

Edited

Hi,

I am sorry but NCrunch is not able to provide this information in the structure you are asking for.

Post a reply

Log in to reply.