Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Way to get executable compiled project? And some more questions...
Hi, thanks for posting! It's great to hear that you've been making good use of NCrunch and that you've found such value in the build optimisation features. I'll try to address your problems one at a time. 1: The NCrunch build itself is executed with the sole intention of building artifacts to …
06 Jun 2012 06:48 UTC
-
Failing Tests - PostSharp
Ok - based on your description it seems like the postsharp build steps just aren't firing. We need to find out why. Can you tell me any more about how your PostSharp environment is configured? If there's any way you can reconstruct the issue in a small throw-away project that you can share, this …
05 Jun 2012 21:49 UTC
-
Code Coverage not respecting ExcludeFromCodeCoverage
Thanks - many people are asking for this, so it looks like it will eventually be implemented :)
05 Jun 2012 21:42 UTC
-
Installer for VS 2012 RC
Hi Larsi - Something you can try which may allow you to work around this is to do a manual install of NCrunch for Visual Studio 2010, but instead placing the files inside your VS11 directory. The download page contains a link that allows you to download the NCrunch 2010 install files as a zip …
05 Jun 2012 21:40 UTC
-
Coverage shows black when tests cover code
I find it very interesting that this solved the problem (or at least suppressed it temporarily). It leads me to believe the data in the cache file might somehow be involved... 1.39b of NCrunch stores absolute paths in the .cache file and in the metrics exclusion data. You're absolutely correct …
05 Jun 2012 09:57 UTC
-
(1) Edit & Continue (2) Fakes Questions
Hi Paul, Thanks for posting! Right now I see no way to make edit & continue work for NCrunch debugging sessions, as the code being used during the debug session actually originates from the NCrunch workspace (not from the solution you are working in). This does create some interesting complicat…
04 Jun 2012 23:54 UTC
-
Coverage shows black when tests cover code
Thanks - I have a speculative fix that may reduce the impact of this problem. I'm in the process of trying to stabilise a build for you to try and will let you know as soon as it's available. Cheers, Remco
04 Jun 2012 23:52 UTC
-
Failing Tests - PostSharp
If you set your 'Log verbosity' under your NCrunch configuration to 'Detailed' then click the Reset button, the processing queue should start showing large amounts of trace information in the details pane when you click on any of the tasks listed. Do you see any output from postsharp against the bu…
04 Jun 2012 23:51 UTC
-
Installer for VS 2012 RC
Hi, thanks for posting! As the RC has only just been released, I haven't yet had a chance to perform any testing against it. I've been told that NCrunch does work, although some features have issues (such as the corner spinner). The 1.40b release will be brought forward to introduce support for…
04 Jun 2012 09:41 UTC
-
Failing Tests - PostSharp
Sorry, the configuration pane does support changing settings via multi-selection, though this isn't very obvious. I've just set up a basic postsharp 2.1 solution running under NCrunch and there didn't seem to be any special configuration needed in order for it to work. This suggests to me that t…
01 Jun 2012 23:55 UTC
-
Failing Tests - PostSharp
That's even better :) Ok .. next thing to try is to enable the 'Copy referenced assemblies to workspace' NCrunch configuration setting for ALL the projects in your solution. My suspicion is that PostSharp may be running but is unable to process all the build outputs because they are in locations…
01 Jun 2012 23:27 UTC
-
Failing Tests - PostSharp
Thanks! Would you also be able to copy/paste for me the reference from your .proj file into postsharp? I expect there will be an <Import> or something similar.
01 Jun 2012 23:12 UTC
-
Failing Tests - PostSharp
The next thing to check is whether postsharp needs any build resources that haven't been included with your project. Do you have a directory relative to your project(s) that contains postsharp resources of any kind? Try specifying it with the 'Additional files to include' setting under your projec…
01 Jun 2012 23:05 UTC
-
Failing Tests - PostSharp
Thanks - please do let me know if this solves the problem for you. Otherwise we can try something else.
01 Jun 2012 22:46 UTC
-
Some NCrunch feedback
Hi John, Thanks for posting! The Tests Window is hard window to get right, and I'm sure that it will continue to evolve with our understanding of continuous testing. I think a common problem that many people have when they first use NCrunch is that they try to look at the Tests Window as sharin…
01 Jun 2012 22:32 UTC
-
Failing Tests - PostSharp
Hi, I'm not too familiar with the mechanics of Devforce or Postsharp, but is it possible that the Postsharp manipulation happens on a post build event? NCrunch will turn off post build events by default (as they often give interference on NCrunch builds for many projects). Try turning them on f…
01 Jun 2012 22:20 UTC
-
Can't find 'Void System.Int32[,].Set(Int32, Int32, Int32)'
Hi, thanks for sharing this. It looks like the instrumentation can't properly handle a method that returns multidimensional arrays. This should be very fixable. A workaround may be to turn off instrumentation for the project containing this method, or look at another way of expressing this return…
01 Jun 2012 22:17 UTC
-
Coverage shows black when tests cover code
Hi Maz - I had a bug report come through last night (was it from you?) that showed an exception being thrown in the mapping process. Somehow there is a misalignment between what NCrunch *thinks* is the content of your source file, and the data that's coming back from the test process. I haven…
01 Jun 2012 22:16 UTC
-
Coverage shows black when tests cover code
Hi Maz, Can you tell me anything specific about the two files that are affected? Do you often make changes to these files? Is there anything about them that could be considered unusual? Also, does the problem go away if you use the Reset button and wait for the tests to re-run? Cheers, …
01 Jun 2012 11:02 UTC
-
Enable NCrunch Disabled / Expired Version?
I fully take your point. Usually I try to space the expiry dates as far as possible so that no one will ever see the expiry message, as this gives a bad experience and (in your case) can cause problems if a new version isn't accessible. I'll try to improve on this in future. Again, I'm sorry for …
01 Jun 2012 10:59 UTC