Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. VS on 100% CPU for several seconds on each build when NCrunch is disabled

    Checking the environment variables was worthwhile... my first thought was whether there was a setting propagating into MSBuild that changed its lifecycle, clearly that's not the case. Can you check the windows event viewer? If the MSBuild.exe process was torn down unexpectedly, there might be er…

  2. VS on 100% CPU for several seconds on each build when NCrunch is disabled

    [quote=ndeslandes;18495] A few more precisions on what I've observed: [list] [*] The freeze doesn't happen if NCrunch is enabled when solution is open and then disabled, only if the solution starts with NCrunch disabled for it [*] It happens on any solution, including brand-new .NET 10 slnx Co…

  3. Rendering each test case for an XUnit Theory

    I apologise in providing some misleading advice above. Another user has managed to get user types enumerating with classdata by implementing IXunitSerializable - [url=https://forum.ncrunch.net/yaf_postst3640_XUnit--Memberdata.aspx]https://forum.ncrunch.net/yaf_postst3640_XUnit--Memberdata.aspx[/url…

  4. VS on 100% CPU for several seconds on each build when NCrunch is disabled

    Would you be able to submit a bug report? The report contains a section on configuration settings that I'd like to review. It would also be interesting to see what MSBuild is doing. Do you think you could attach a debugger to it during the hang, and examine the running threads? Another inter…

  5. XUnit, Memberdata

    Hi, thanks for posting. Xunit rolls up the cases for this test (on instruction from NCrunch) because they are built using a user-defined type declared on their signature, which introduces significant complexity and risks when transferring them from the test discovery domain into the runtime envir…

  6. VS on 100% CPU for several seconds on each build when NCrunch is disabled

    Hi, thanks for sharing this. There isn't really much of NCrunch that is active when it's disabled. However, it's definitely worth checking the logging situation. Can you check to see if NCrunch is set to 'Log to output window' in its configuration? If so, turn this off. Also make sure that …

  7. Licensing: need a new license for VS 2026?

    Hi, thanks for posting. The first version of NCrunch to support VS2026 is v5.18, though v5.18 doesn't work on .NET 10. If your current license maxes out at v5.8, then you'll need to upgrade the license to access the newer versions (of which I highly recommend the latest release, v5.20, which s…

  8. Rider freezes UI very often when combined with NCrunch

    Finally! I did have high hopes on that last fix. We were starving the thread pool for the IDE. It wasn't obvious, but the background threads being used for transferring NCrunch data into editor windows were being allocated from the same pool as the threads used by the IDE for everything else, w…

  9. Console Runner On A CI Server, Optimization Hints

    Great to hear that these settings changes have made a difference. The RDI data is probably just cached data being cycled between runs. If you clear out the .cache file being used by the console tool, in theory this should resolve the issue. LevelOfParallism is not an attribute used by NCrunch…

  10. The target "_SplitProjectReferencesByFileExistence" does not exist in the project.

    Hi, thanks for sharing this issue along with the sample project (it's so much easier with a code sample to help understand what's happening). For NCrunch to load a project, there is a critical property that must be present in the project, "TargetFrameworks". This is because we need to know the…

  11. Console Runner On A CI Server, Optimization Hints

    Hi, thanks for posting and for providing the configuration file. I'll try to answer your questions directly. 1. Disabling RDI for your console run is strongly recommended, as the console tool doesn't have a way to access/present RDI data in a useful way, so this tends to just result in I/O churn…

  12. Rendering each test case for an XUnit Theory

    [quote=ndeslandes;18471]Out of curiosity, how come this works as expected, producing one test report per theory use case? [/quote] This is because the types involved are primitives, so they are treated differently by xunit. User types are somewhat problematic because they are harder to reliab…

  13. Rendering each test case for an XUnit Theory

    Hi, thanks for posting. NCrunch doesn't support granular reporting of theories that use ClassData, because this requires the runner to deconstruct the xunit test metadata in detail (which is something we try very hard not to do, as it increases the fragility of the integration). If reporting t…

  14. Rider freezes UI very often when combined with NCrunch

    Thanks for sending through the log. Through an expensive process of deduction and rewriting a lot of code, there's probably not much left that can cause this. My latest suspicion is that the problem is being caused by thread pool starvation. I've implemented a change that I hope will solve it. …

  15. Rider freezes UI very often when combined with NCrunch

    [quote=TimVisma;18464]Unfortunately I still have the freeze problem.[/quote] Sorry, looks like I'm going to need another capture like the last one.

  16. nCrunch is very eager

    Hi Stian, Thanks for sharing this issue. Running on an engine mode set to 'Run all tests automatically' WILL aggressively queue up tests covering projects that have changed, but NCrunch normally shouldn't build projects that haven't changed. There are three notable exceptions to this: 1. If …

  17. Problem with latest xUnit v3 (3.2.0)

    v5.20 is now available, including a fix to implement support for xunit v3.2.

  18. xunit.v3 3.2.0 kills ncrunch build

    v5.20 is now available including the fix to implement support for xunit v3.2.

  19. Rider freezes UI very often when combined with NCrunch

    v5.20 is now available. I'm keen to hear it helps with the freezing issues.

  20. Rider freezes UI very often when combined with NCrunch

    Ok, I have more optimisations coming. Look out for them in the v5.20 release set to go out with Rider 2025.3, which I hope will be in the coming week.