Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Problems with Visual Studio 2022 (another thread)

    Thanks for sending through the bug report. The version of NCrunch you're running is quite old. Could you try updating to 4.14 and let me know if this solves the issue?

  2. .NET6 SDK must be always updated?

    Thanks for sharing this. It's difficult to draw any firm conclusions on this given the unfathomable complexity of MS's build system and the speed with which they're changing it, but my best guess is that VS was caching dependency details in a manner that was causing a different resolution path fo…

  3. WPF projects don't compile anymore when dotnet7 is installed

    Hi, thanks for sharing this issue. Right now we don't have any support for NET7. It's still too early for us to handle this one. We'll be performing more QA and troubleshooting on this one closer to its release date.

  4. Distributed Node Heuristics

    Handling huge solutions is a challenge for any tool, especially one like NCrunch. That's not saying we can't handle it, but rather that we're always hungry for more information on where the performance of the engine may be falling short. I'm quite interested in what you've learned from the timelin…

  5. Problems with Visual Studio 2022 (another thread)

    Hi, thanks for sharing this. What happens to NCrunch when it dies? Does it just stop working? Is there an error of any kind? If you can submit an NCrunch bug report after this happens, I can run through the logs and try to work out what's going on.

  6. Dotnet tool is not installed for Ncrunchb

    Hi, thanks for posting. Usually, Visual Studio will run the Nuget restore action when it opens your solution, which will install any packages required for the solution. Most likely the package is already installed on the machine but the build steps cannot find it as they haven't been engineered …

  7. Unmanaged dll cant be referenced

    Ty setting the build action on the item to 'Content'. Set the 'Copy to output directory' setting to 'Copy always'. Make sure you add the native DLL to your test project, as this is the one that will be primarily hosted in the runtime environment. You can inspect the contents of the workspace by r…

  8. Unmanaged dll cant be referenced

    [quote=kestral;16237]Thanks for the reply. That option only seems to let me specify other projects within the same solution. The dll I'm using is a 3rd party dll and isnt in a project. Is there an option where I can copy a specific file into the NCrunch output folder ?[/quote] Understood. …

  9. Unmanaged dll cant be referenced

    Hi, thanks for posting. We have a config setting designed specifically to deal with this scenario. See [url=https://www.ncrunch.net/documentation/reference_project-configuration_copied-project-dependencies]Copied Project Dependencies[/url].

  10. Test Failures After Adding Empty Test

    Would you be able to try the build below? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.14.0.5.msi]NCrunch_Console_4.14.0.5.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.14.0.5.zip]NCrunch_Console_4.14.0.5.zip[/url] [url=https://s3.amazo…

  11. .NET 6 Support? - Long Paths Build Error?

    Hi, thanks for posting. We do already support .NET 6. The supported frameworks page was out of date, so I've just updated it now (thanks for letting me know about this). A couple of years ago we did work through to try and add support for long file paths. From memory, this involved making su…

  12. Test Failures After Adding Empty Test

    Thanks. I did try many combinations of adding tests, fixtures, resets, different settings, etc. I wasn't able to produce the problem. I think the next step would be for me to try and prepare a diagnostic build that can pull more information about your situation into an NCrunch bug report. Would …

  13. Test Failures After Adding Empty Test

    After some thorough testing, I've been unable to reproduce the described issue with the solution you've sent through. My NCrunch states it is monitoring 987 tests in the solution. Does this match what you are seeing when opening NCrunch on the exact same solution?

  14. Test Failures After Adding Empty Test

    Hi, yes thanks for sending this through. I haven't had a chance to explore this yet but will let you know as soon as do.

  15. StackOverflowDetectedException in NCrunch, but test passes in other runners

    [quote=TobiasvdVen;16223]Aha, disabling the stack overflow detection for all projects did indeed result in no StackOverflowDetectedException being thrown. I'm still curious exactly what we're doing that is running up the stack so much that it triggers NCrunch to detect an overflow... But, I can…

  16. StackOverflowDetectedException in NCrunch, but test passes in other runners

    Hi, thanks for sharing this problem. NCrunch intercepts stack overflows by tracking the size of the overall stack and throwing an exception when it reaches a certain threshold. This process is not as perfect as I'd like it to be, owing that the acceptable stack size seems to be extremely variabl…

  17. .NET MAUI Support

    Great to hear! I noticed that the MAUI projects are extremely large and seem to have a very long build time (even outside of NCrunch). I hope they find a way to speed these up in future. The warning you've been given isn't a big deal unless you're experiencing runtime issues. If you add a refe…

  18. SpecFlow + TestContainers -- How to tweak NCrunch to behave similar to other runners?

    Hi, thanks for posting! This behaviour is due to a technical difference with how NCrunch is implemented vs serial test runners. There are usually ways you can solve this in your own code - see [url=https://www.ncrunch.net/documentation/considerations-and-constraints_test-atomicity]test atomicity…

  19. Warm up cache before running tests.

    Hi James, Thanks for posting! This is a very common situation with most testing suites. It's often difficult to solve this outright but it can be mitigated. Increasing your [url=https://www.ncrunch.net/documentation/reference_global-configuration_max-test-runners-to-pool]Max test runners to …

  20. Test log lines get cleared after failure

    Hi, thanks for sharing this problem. NCrunch redirects and captures everything written to the Console stream. This will be shown in the output in the Tests Window regardless of whether the test has passed or failed. At least, it's supposed to. Can you check the coverage markers of the failin…