Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Project does not build, no build message
For anyone else that encounters this issue: Bohumil and I had a brief offline online exchange where we identified that the reason for this failure was that NCrunch was missing a piece of critical data within the .proj file XML. The project in question was missing the DefaultTargets attribute on …
13 Jul 2013 05:47 UTC
-
How do I "Retrieve the LoaderExceptions property" please?
Excellent! Thanks for your patience Jeremy :)
13 Jul 2013 05:25 UTC
-
How do I "Retrieve the LoaderExceptions property" please?
Sorry Jeremy. Without a way to reproduce the issue, I'm resorting to blind pitching at the moment to try and get more data about it. This isn't the most efficient troubleshooting method, but I think we'll get there. I've prepared another build if you're interested in giving it a try: [url=http…
11 Jul 2013 23:54 UTC
-
Project does not build, no build message
Would you like to try this diagnostic build? [url=http://downloads.ncrunch.net/NCrunch_VS2012_1.46.0.12.msi]http://downloads.ncrunch.net/NCrunch_VS2012_1.46.0.12.msi[/url] This build has been modified to give extra build trace information when the issue appears. I'm hoping this will give us s…
11 Jul 2013 11:47 UTC
-
Project does not build, no build message
Thanks, this information helps narrow things right down. My suspicion is that this VB project is not specifying a critical piece of build metadata that is required by NCrunch in order to build it. I'm wondering if you'd be able to try adding the following build property group to the end of the .…
11 Jul 2013 10:39 UTC
-
Project does not build, no build message
Thanks for sending through the log file. Sadly, it doesn't seem to have put much light on the real source of this problem. Is there any chance you could also try submitting a bug report straight after the issue has appeared? The log in the report may give some more information. Something else …
11 Jul 2013 09:58 UTC
-
Project won't build after upgrade
I've just pushed out a new revision of the 1.46 release (1.46.0.11) with a fix for this issue. If you redownload and install, the issue should be resolved. Sorry for the trouble.
11 Jul 2013 01:29 UTC
-
How do I "Retrieve the LoaderExceptions property" please?
Sorry Jeremy, it looks like the new code intended to emit the error details has completely failed. I've updated the 1.46 release with a new revision that I hope should solve this problem and spit out the correct details. If you download and install the latest revision on the download page, the e…
11 Jul 2013 01:28 UTC
-
Project won't build after upgrade
Hi, Sorry this appears to be a regression caused by the 1.46 release which is causing NCrunch to blow up while trying to process a public NULL constant field in your project. I'm introducing a fix at the moment and will have a new build up with a resolution very soon. Thanks for reporting thi…
10 Jul 2013 23:10 UTC
-
How do I "Retrieve the LoaderExceptions property" please?
Hi Jeremy - Try the following: - Set your [url=http://www.ncrunch.net/documentation/reference_global-configuration_logging-verbosity]log verbosity[/url] to Medium - Reset the engine so that the error occurs nice and fresh - Open up the processing queue - Find the Analysis Task in the proces…
10 Jul 2013 23:06 UTC
-
Project does not build, no build message
Hi, thanks for sharing this issue. NCrunch reports this when a build fails to complete without returning any errors. There are certain situations in MSBuild that can cause this. Sometimes MSBuild actually represents reference resolution errors as warnings, which can be quite misleading and tend…
10 Jul 2013 11:16 UTC
-
How do I "Retrieve the LoaderExceptions property" please?
Hi Jeremy - The yellow arrow symbol indicates that the test has been manually queued for high priority execution. As the test task is bugging out, the engine never gets to execute the test, so the arrow will probably stick around indefinitely. The 1.46 maintenance release of NCrunch has just …
10 Jul 2013 06:04 UTC
-
Debug namespace problem
Thanks Yang. The update of Nuget packages involves changing files that NCrunch does reference, so this would have triggered NCrunch to kick off. I'm not completely sure if Nuget performs build logic during an update, but if so, this could explain a possible cross-build issue. Do you remember if t…
08 Jul 2013 06:21 UTC
-
Debug namespace problem
Something else to look out for is whether your NCrunch configuration has any dependencies on files derived from your local build process. If you run a build and this triggers NCrunch to start working, then most likely you have an output from your foreground build that has been specified as an inp…
07 Jul 2013 22:21 UTC
-
Risk/Progress bar - what do you want to tell me?
In summary, the 'Risk' percentage is calculated roughly as the number of impacted tests in the processing queue divided by the number of unimpacted tests in the processing queue (with certain weightings attached to each). The rationale is that when a change to the codebase is made, the risk perce…
05 Jul 2013 00:08 UTC
-
UI Suggestion: Metrics integration into Solution Explorer
Hi Phil, Thanks for posting and I'm glad you're enjoying NCrunch! It would definitely be a nice thing to be able to integrate these views, as the solution explorer definitely carries the same structural layout as the Metrics View and it's always better to need less tool windows to juggle aroun…
04 Jul 2013 23:54 UTC
-
Ternary Operators should indicate when only one condition is covered
Hi Duncan, thanks for posting! The reason NCrunch doesn't work very well with ternary operators is because the resolution of its coverage capture is line by line, rather than statement by statement. This differs from many other code coverage tools that use 'heat' views colouring the background…
04 Jul 2013 23:47 UTC
-
disable timeouts when debugging
It looks as though the latest version of NUnit had the Debugger.IsAttached functionality disabled - [url=https://bugs.launchpad.net/nunitv2/+bug/543517]https://bugs.launchpad.net/nunitv2/+bug/543517[/url]. It isn't yet clear why this is the case, but unfortunately NCrunch has no way to override t…
04 Jul 2013 07:08 UTC
-
System.InvalidProgramException : Common Language Runtime detected an invalid program.
It looks as though this is the same issue as described in this thread: [url=http://forum.ncrunch.net/yaf_postst898_AnalysisTask-ERROR.aspx]http://forum.ncrunch.net/yaf_postst898_AnalysisTask-ERROR.aspx[/url].
04 Jul 2013 06:09 UTC
-
AnalysisTask ERROR
I've done some more digging into what is happening here ... The project this exception is being thrown on is making use of AllowPartiallyTrustedCallersAttribute, which seems to trigger the CLR to impose additional restrictions on the nature of code that can be executed from .NET 4.0 onwards. The…
04 Jul 2013 05:00 UTC