Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Cannot run NCrunch due to hostfxr.dll

    [quote=thobey;16268]I want to build for X86. And I have stated that in the configuration in NCrunch under "Use Cpu architecture"[/quote] Can you confirm whether your project is built to target the X86 platform? We've found working with X86 can sometimes be more trouble than it's worth under th…

  2. Licence Upgrades

    Hi, thanks for posting. I received your query about this via the support contact. We're following up with the reseller to find out what has happened with your order. I'll be in touch with you via email when we know what's going on.

  3. Cannot run NCrunch due to hostfxr.dll

    It looks like this is resolving to the x86 (32-bit) path of dotnet. Is it possible you installed the x86 build of dotnet by accident, but meant to get x64 instead?

  4. Cannot run NCrunch due to hostfxr.dll

    Hi, thanks for sharing this problem. I haven't seen this one before. I agree it looks like something needs to be (re)installed. Where do you receive this error? Does it happen when NCrunch tries to discover tests?

  5. Is it possible to run tests for two different buidl configurations?

    Hi John, Thanks for posting. Are you able to share any details on how your build configurations have been separated? Do you have physically separate projects, or are you cross-compiling your solution using multiple TargetFrameworks?

  6. 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?

  7. .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…

  8. 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.

  9. 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…

  10. 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.

  11. 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 …

  12. 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…

  13. 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. …

  14. 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].

  15. 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…

  16. .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…

  17. 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 …

  18. 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?

  19. 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.

  20. 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…