Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. NCrunch stuck in Processing/Reprocessing loop

    Absolutely - looking at the log is a really, really good idea. In your global configuration, turn on the 'Log to output window' option. Set the 'Log Verbosity' to 'Detailed'. Then reset the NCrunch engine. If you open up the VS output window, then choose 'NCrunch Output' in the dropdown bo…

  2. NCrunch stuck in Processing/Reprocessing loop

    This is a build loop. Usually it's caused by the NCrunch's build of the workspaced project reaching out of the workspace and touching files in the foreground solution. This involves the following sequence: 1. NCrunch builds a workspace for the project in a separate area of your hard drive, copy…

  3. InvalidProjectFileException - regex cannot be evaluated

    Excellent! Enjoy the product! :)

  4. Test duration inconsistency

    Hi, Thanks for sharing this. Without being able to see the code for this test, it's difficult to know why the execution time is higher, but if you have a number of loops executing in managed code then it's quite possible that this is caused by the weight of NCrunch's instrumentation. As wit…

  5. NCrunch fails unit test where MSTest passes

    Hi Rainer - NCrunch's MSTest support is emulated rather than integrated, so the properties available on the TestContext need to be declared by NCrunch specifically in order for them to be available to your tests. It looks like you've managed to find a property that hasn't been set (and should …

  6. Remote server: Sluggish vstudio when using remote servers.

    Thanks for sharing this. There are a few possibilities that jump into my head on reading this, and I'm wondering if you might be able to help me narrow them down so that I know where to optimise: 1. I've just checked the network handling for the grid processing, and it looks as though this is be…

  7. InvalidProjectFileException - regex cannot be evaluated

    That's great news - you're making good progress here. I don't think it will be difficult to adjust the build to output the binaries using a relative path. NCrunch must always output assemblies using a relative path, as absolute paths will do exactly what you've described - dump the files in the sa…

  8. InvalidProjectFileException - regex cannot be evaluated

    Sorry, I think you might need to take this problem up with your build team. It looks like the purpose of this regex is to try and extract the name of a directory towards the end of a file path, but from just an extract of code I'm afraid that I'm not sure how to troubleshoot it for you. The values…

  9. Xunit 2 quirks

    Thanks for letting me know about this one .. I'm sorry it slipped through my net. Fortunately, it was easy to solve. Here's a fixed build if you're interested: [url=http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.2.msi]http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.2.msi[/u…

  10. NCrunch thinks a shared test file is a single item

    Hi Damian, I've managed to implement a fix for this issue in an early build of 2.8. Are you interested in giving it a try? Download links are below: [url=http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.1.msi]http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.1.msi[/url] [ur…

  11. F# variable identifiers with dots

    For anyone interested, I've prepared an early build of 2.8 that includes a fix for this issue: [url=http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.1.msi]http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.1.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0…

  12. Xunit 2 quirks

    Hi, I've now packaged up the new build as promised. I also performed some extra testing around the issues you described, and found that most of them actually weren't related to the .2650 xunit build at all. I'm grateful for you taking the time to report them, as I've consequently been able to i…

  13. Xunit 2 quirks

    Ok - based on your feedback above (2) I think it's possible that there may be some more issues beyond just those introduced by .2650. This integration with Xunit is still very new, so it hasn't seen the same rigorous real-world testing that the other adapters have. I think it's best if we try you …

  14. Xunit 2 quirks

    Hi, Thanks for sharing these issues! The problems you're describing are happening because of the new build of Xunit (2.0.0.2650) that was just released. v2.7 of NCrunch was integrated with Xunit v2.0.0.0, and the .2650 introduced many breaking changes across Xunit's test runner API. The chan…

  15. InvalidProjectFileException - regex cannot be evaluated

    Thanks for sharing this code. Your project build looks to be very, very heavily customised. I can try to help with getting this project building with NCrunch, but I should warn you that it's likely to be well outside the conditions under which NCrunch has been tested. NCrunch manipulates the bu…

  16. InvalidProjectFileException - regex cannot be evaluated

    Hi, Thanks for sharing this issue. It looks like the project above contains a build customisation that wasn't designed to work with the translated file paths used by NCrunch. Is this a project you've designed yourself? Or is it part of a wider toolset? Can you share the project element that c…

  17. Project built system doesn’t seem to respect build-to-order?

    Hi, Judging from the file path involved ("C:\Palabra\Bin"), it looks to me as though this is being caused by the code that's being compiled/tested by NCrunch reaching outside the NCrunch workspace into your foreground solution. Am I correct in assuming that this is being done by setting the 'Out…

  18. NCrunch Servernode doesn't build correctly (x64/x86)

    Thanks!! I'm glad to hear that you managed to get it working. Something I will quickly warn you about with code contracts is that it can have a significant impact on build performance, especially if you're its static analysis features. MS didn't really design it with fast building tools like NCrun…

  19. NCrunch Servernode doesn't build correctly (x64/x86)

    Hi, thanks for sharing these issues. The warnings NCrunch is giving you about the missing files are nothing you need to be worried about. The only issue here is that the message NCrunch is giving you is not well worded, and it tends to suggest that it's throwing warnings/errors while actually it…

  20. Cannot find references when building

    Great to hear! To be honest, I had no idea MSBuild actually allowed you to use them. New surprises every day :)