Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Debugger visualizers not working anymore after update to 3.22.1

    [quote=tasoss;13592]I would like to ask you if it's normal ,that while debugging, i step into nunit's(using step over (F10)) framework code? Can i somehow disable it? Thanks![/quote] Hi! This isn't controlled by NCrunch. It's possible you have an IDE/debugger setting turned on that is doing t…

  2. Load failure for .NET Core cs projects without Sdk attribute in Project element

    Hi, thanks for sharing this problem in such great detail. The code has been assuming that a project element cannot stand on its own (it was actually written long before the Sdk attribute was even a thing). I've had a go at implementing a fix. Would you like to try the build below to see if th…

  3. new tests in file not being picked up by NCrunch

    Hi, thanks for sharing this issue. I've had a look through the report your submitted and didn't see anything going obviously wrong inside the engine (no errors, looks like normal function). I think the first thing we should do is clear ALL of your NCrunch configuration to see if this makes any…

  4. Slow unit test runs forever

    [quote=devdept;13582] No bottlenecks in the NCrunch instrumentation, in other words where to place these: https://www.ncrunch.net/documentation/concepts_code-coverage-suppression [/quote] Right now the best way I can suggest is to follow the yellow markers. Start from the top of the stack (at …

  5. Netstandard test helper project cannot reference xunit.extensibility.core

    [quote=tiesmaster;13576]Thanks! That did the trick. It's a pity I need to configure this project manually (and commit the ncrunch project file), but it gets the job done ;)[/quote] Understood. My preference here would have been to automagically handle it (as we do with most things), but because …

  6. Slow unit test runs forever

    [quote=devdept;13577] How would you identify critical code sections? [/quote] Sorry, I'm not sure if I understand this question .. are you asking for a better way to find performance bottlenecks in your code?

  7. Array as datarow attribute parameter

    Hi, thanks for posting. I'm sorry to say that right now that due to feasibility constraints we have no plans to change how this is implemented. Transferring complex types from an unloaded static/CIL domain into a runtime domain is very tricky business and is full of nasty edge cases, many of whi…

  8. Slow unit test runs forever

    [quote=devdept;13574]Hi Remco, Regarding this, does it mean that afterward code coverage will not be 100% accurate? It would be a big problem for us. Thanks, Alberto[/quote] Not necessarily. It depends upon the extent to which you use it. When you suppress code coverage for a region…

  9. Tests failing when using MVVMLight PCL

    I'm not sure if the solution implemented for NCrunch would apply in your situation, but I can summarise the change for you. In its runtime environment, NCrunch hooks the AppDomain AssemblyResolve event and implements custom search logic to find assemblies using its own knowledge of where they are…

  10. Could not load file or assembly 'xunit.runner.utility.netstandard15

    Thanks for sending through the sample solution. This really helped with analysing the issue. It appears to be a reference clash involving xunit.runner.utility (which is also used by NCrunch to interact with xunit). Would you like to try the build below to see if this solves the problem for you?…

  11. Debugger visualizers not working anymore after update to 3.22.1

    [quote=tasoss;13567]Hello again and thanks for the feedback. I have tried version 3.28 and it seems that debugging is working again(on vs 2017). Thanks![/quote] Awesome, thanks for confirming!

  12. Gridnode "Pool"

    Hi, thanks for posting. The structure you're after was considered early in the development of the grid system. Although there are advantages to it, it was rejected in favour of the current model for the following reasons: 1. A pool-based system doesn't allow the individual resources of nodes …

  13. Netstandard test helper project cannot reference xunit.extensibility.core

    Hi, thanks for sharing this. In this situation, the correct response is to set the 'XUnit v2+ Enabled' configuration setting for the TestHelpers project to 'False'. I'm revising the documentation to make this clearer.

  14. Console: ERROR (Internal): Unable to load description for framework 'nCrunch.Module.Gallio.Inte...

    I saw this issue appear a bit when we were still modularising the areas of NCrunch and adjusting the installers (several years back). At present, I don't know of any way the problem can occur between newer versions of the product while using the standard installers. Sometimes people would extract …

  15. Could not load file or assembly 'xunit.runner.utility.netstandard15

    Inside any sample project, could you try introducing a package reference to the xunit.runner.utility Nuget package, then build the project? This will cause Nuget to ensure the package is downloaded and installed on your machine. NCrunch should normally restore this package automatically and it sho…

  16. Console: ERROR (Internal): Unable to load description for framework 'nCrunch.Module.Gallio.Inte...

    Hi, thanks for sharing this issue. This is caused by a duplication of Gallio plugins in the NCrunch install directory. Try clearing out your NCrunch install path, then reinstalling it.

  17. Could not load file or assembly 'xunit.runner.utility.netstandard15

    Hi, thanks for sharing this issue. Could you check the following? - If you have any binding redirections in place, could you try removing them to see if this changes anything - Could you try removing the reference to xunit.runner.visualstudio to see if this changes anything - Could you t…

  18. Project build failure - NuGet restore

    [quote=lmoelleb;13550]Great, it works. You are in good company - .NET Core also failed on this a few versions back... and Windows still can't zip a file on my desktop. Why someone would create a username with non ascii characters is beyond me, but they thought they were being helpful. :) [/quote] …

  19. How to diagnose why ncrunch build takes so long?

    Good find and nicely fixed :)

  20. How to diagnose why ncrunch build takes so long?

    Hi, Yes, you can get a more detailed look at the build, and you definitely should. Set your Log Verbosity configuration setting to 'Detailed' then let the NCrunch build run and examine the log in the Processing Queue Window. Probably, there is a step somewhere that is eating a lot of time, an…