Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Secondary monitor scaling issue

    Hi, thanks for sharing this issue. The tool tip window establishes the scaling factor from the monitor containing the control when it gets opened. Unfortunately, we've seen situations where some versions of Windows/.NET don't seem to report this correctly internally. I'm not sure if the issue…

  2. No supported projects detected after NCrunch update

    Thanks for sending through the bug report. It looks like the engine is discarding projects its loading, without any error present. Could we try resetting your configuration? While the IDE is closed, please delete the contents of C:\Users\USER\AppData\Roaming\NCrunch Once you've done this, …

  3. Aspire

    Thanks for sharing the ZIP. I've reproduced the problem as you've described it. I've spent some time trying to devise a way to get this to work. Unfortunately, I can't see a path to a solution .. not even a hacked up one. The root issue is that this particular toolset treats the entire solut…

  4. Aspire

    Try adding these missing files to the 'Additional files to include' project-level NCrunch configuration setting. I suspect they are somehow not being detected as dependencies, so they don't get copied into the workspace as they should be. It looks like these files are being created at load time wh…

  5. Aspire

    Thanks for sharing this issue. Can you check if the missing files are stored in the NCrunch workspace? I'm wondering if this could be as simple as just adding them to the 'Additional files to include' setting.

  6. Load runsettings

    [quote=hvkooten;17814]I'm the only one using NCrunch in the team (I don't know why), so I cannot change the code for this to work.[/quote] Sorry, we don't support runsettings. I can't suggest any workaround that does not involve changing the test code in some way.

  7. Load runsettings

    [quote=hvkooten;17812]As a contractor, at my current assignment, thay have integration tests setup next to unit tests. The environment settings are loaded as testcontext properties to switch between environments. I cannot change this process. Therefore I hope there is a way to inject and switch betw…

  8. Load runsettings

    Hi, thanks for posting. NCrunch's MSTest support is emulated rather than integrated, and the emulator does not support loading settings from .runsettings. Is there something you need from there?

  9. Issue using ReadOnlySpan construction

    I've conducted a more thorough investigation of this problem. It seems to be coming from unstable behaviour in the .NET runtime. The error itself seems to be intermittent, depending upon the contents of memory at the time. You can run several copies of the same test doing the same thing and all…

  10. You must install or Update .NET to run this application

    See here for a fix for this issue: [url=https://forum.ncrunch.net/yaf_postst3525_Unable-to-build-apps-with--older--Windows-SDK.aspx]https://forum.ncrunch.net/yaf_postst3525_Unable-to-build-apps-with--older--Windows-SDK.aspx[/url]

  11. Issue using ReadOnlySpan construction

    Thanks for sharing this issue and for the code sample. I've reproduced it as you've described. The problem is caused by an instrumentation clash between RDI and the inline span being created by the compiler. I've noted this down to see if I can find a way to properly resolve it. For the time bei…

  12. Xunit.v3 analysis failure

    NCrunch tries to load the Xunit assemblies relative to xunit.v3.core. This means that if you've referenced xunit.v3.core via assembly reference (and not through the Nuget package), it will try to find them in the wrong place. Can you show me how you're referencing xunit.v3.core? Note that if yo…

  13. Performance drop when upgrading from V4 to V5.9

    My suspicion here is that this problem is caused by tests with inconsistent execution times. If the time taken for tests to execute isn't consistent, NCrunch won't know how to optimise the processing queue correctly. This can result in the overall execution time to be widely inconsistent, with s…

  14. using dotnet secrets in tests fails

    Hi, thanks for sharing this issue. NCrunch itself is just a console application. It may be worth trying to build your own console application and loading the secrets from there, to see if there is a difference in how it works. NCrunch has no integration with dotnet secrets, and I confess that…

  15. Building with OpenApi generation

    Hi, thanks for sharing this issue. The root problem here probably comes from the package restore step, which is done by VS without the $(NCrunch) property active. This then causes the PackageReference to bleed into the project.assets.json file which is shared between between both VS and NCrunch.…

  16. Support TUnit

    Hi, there are no plans for TUnit support in NCrunch at this stage.

  17. Unable to build apps with "older" Windows SDK

    Could you try creating a small dummy project in VS, with a reference to System.Collections.NonGeneric v4.3.0? This will force Nuget to restore the package and should get you up and running.

  18. Unable to build apps with "older" Windows SDK

    Thanks for posting. Could you show the exact compile error you're seeing? The error at the top of this thread is a runtime environment error. The warning you've posted can be a red herring if you have the correct nuget packages installed. Note that you can work around the problem described by th…

  19. Custom attribute not detected

    Hi, thanks for sharing this issue. Inheriting from Xunit attributes is basically extending the functionality of the Xunit adapter. NCrunch doesn't support this kind of extensibility, as it's impossible for us to predict how people might change the behaviour of Xunit so we have no way to implemen…

  20. Rider window "view mode" issues

    I've looked into the behaviour of shortcut keys to open NCrunch tool windows. I've now rigged these up so that if the tool window is already visible at the time the shortcut is used, it will be activated instead. Unfortunately, the result is not what I was hoping for and I don't think it will …