Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. NCrunch has encountered an internal error: System.IndexOutOfRangeException: Index was outside the bo

    Thanks for sending this through. Could you send another bug report with the project fixed and building correctly? Make sure to turn off test execution with your engine mode so that the last thing in the log is the build of the assembly (you can right click it in the Tests Window and force it to re…

  2. xunit v3 private test methods not discovered

    [quote=Argamon;18095]Wow, that was fast. I hope it wasnt more work than just some different BindingFlags. It works like charm. Thanks.[/quote] That was, quite literally, all it was. Nice to have something easy to fix for a change. I'm glad it works for you. [quote=Argamon;18095] We both now…

  3. xunit v3 private test methods not discovered

    Thanks for sharing this issue. I've reproduced it as described. NCrunch is not detecting private tests under Xunit3. I've prepared a build with a fix if you are interested in giving it a try: [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.15.0.1.msi]NCrunch_Console_5…

  4. NCrunch does not ignore xunit theory data source

    Thanks for clarifying this. The problem you're encountering is caused by a lack of clarity between test discovery and test execution. Theories like the one you've described are generated using data that is encountered during test discovery. Test discovery is a special step that is performed b…

  5. NCrunch has encountered an internal error: System.IndexOutOfRangeException: Index was outside the bo

    [quote=robinz;18089]I wanted to let you know that I was having a lot of trouble with NCrunch throwing the error a few days after you posted 5.14.0.1. I installed 5.14.0.1 so that I could send you the bug report. I've been running 5.14.0.1 for around 10 days, and it hasn't exhibited the error. [/quo…

  6. Load failure project.assets.json doesn't have a target for 'netstandard2.0' on a .NET 4.8 project

    [quote=Tim Long;18087] I'm not sure if this is related to the same issue but it might be related to the fact that I'm using GitVersion. I right-clicked then "Reload and Rebuild this project" and it build the second time. In fact, thinking about it, the project is not referenced in the test project …

  7. Load failure project.assets.json doesn't have a target for 'netstandard2.0' on a .NET 4.8 project

    Hi, thanks for sharing this issue. Are you running a preview version of VS? There is a fix published here for a similar reported issue: [url=https://forum.ncrunch.net/yaf_postst3574_Can-no-longer-build-after-VS2022-17-14-0-Preview-3-0-update.aspx]https://forum.ncrunch.net/yaf_postst3574_Can-no-l…

  8. NCrunch does not ignore xunit theory data source

    Hi, thanks for sharing this issue. Can you confirm which version of Xunit you are running? Also, when you ignore these theories using NCrunch configuration, could you clarify which configuration option you are using?

  9. Rider hanging frequently after upgrade to 2025.1

    Thanks for sending through the thread dump. I've examined the thread dump and confirmed that NCrunch does not have any presence in threads likely to be implicated in the freeze. I don't believe this to be a problem in NCrunch. I think this is more likely to be a race condition or something si…

  10. ImmutableHashSet static field causes 'Value does not fall within the expected range' exception.

    Ok, here is my next attempt at solving this problem. I'm a bit more confident about the fix this time, as my understanding of the root cause is much clearer. Please give this build a try and let me know if it works OK for you. [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_…

  11. Can no longer build projects that use the Polly package

    Thanks for sending through the sample project. Would you be interested in trying the build below to see if this solves the problem for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.14.0.4.msi]NCrunch_Console_5.14.0.4.msi[/url] [url=https://s3.amazonaws.com/downloads…

  12. Rider hanging frequently after upgrade to 2025.1

    [quote=Jholbrouck;18074] I did dump the threads and got the threads output file. Is there anywhere where I can upload it? [/quote] Thanks for sharing this issue. Could you ZIP up the output and send it through the [url=https://www.ncrunch.net/support/contact]contact form[/url]?

  13. Can no longer build projects that use the Polly package

    Hi, thanks for sharing this issue. It looks like they've introduced a new IL signature that NCrunch hasn't seen before. Is there any chance you can share a sample project that can produce this problem?

  14. ImmutableHashSet static field causes 'Value does not fall within the expected range' exception.

    [quote=garyp01;18068]For me, the problem doesn't occur with v5.14.0.3 with the example project I provided (https://github.com/garypendlebury/NCrunchFault), but it did still initially occur in my real-world project, with the same error as before (detailed in the first post). However, I've been workin…

  15. ImmutableHashSet static field causes 'Value does not fall within the expected range' exception.

    Thanks for sharing this issue. I've done more investigation and confirmed this is the same thing. Something very odd is happening inside the runtime and NCrunch's instrumentation is intermittently surfacing it. The best way I can find to address this issue is to shut off RDI instrumentation for…

  16. Can no longer build after VS2022 17.14.0 Preview 3.0 update

    Thanks for sending through the sample solution. I've managed to reproduce the problem as you've described it. The root cause is a change in the toolset that has broken NCrunch. It's actually quite a serious problem and I'm grateful that you took the time to report it. Would you be interested…

  17. .Net Core 6 requirement for ncrunch for rider

    Could you hook Rider's dotMemory onto the process and see where the memory is going? Something must be getting hungrier than it should.

  18. Can no longer build after VS2022 17.14.0 Preview 3.0 update

    Hi, thanks for sharing this issue. Are you able to provide a sample solution that can reproduce this problem?

  19. xunit v3, missing xunit.v3.runner.inproc.console net6.0?

    [quote=mgrundner;18050] Thanks! This works but I get a rather missleading warning running the tests in ncrunch, nothing to worry but cosmetic WARNING - c:\program files\microsoft visual studio\2022\community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets: MSB9008: The referenc…

  20. NCrunch has encountered an internal error: System.IndexOutOfRangeException: Index was outside the bo

    I've prepared a build containing a whole lot of temporary trace logs to try and isolate the issue (links are below). I'm wondering if you could try installing this build, then: 1. Open the solution containing the project that fails to build 2. Ensure all grid nodes are disconnected (work locally …