Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Disabling RDI for a project doesn't restore performance, only disabling it for the solution does

    Hi, thanks for posting with this issue. There are a couple of possible reasons for this: 1. When RDI is disabled for a test but is still enabled for any projects covered by this test, it is effectively 'soft-disabled' in such a way that no data is collected, but the RDI instrumentation still e…

  2. Using EnableRdi(false) attribute results in NullReferenceException from LogStateMachineCompletion

    Hi, thanks for sharing this issue. My first thought here is whether this might be due to overlapping threads from other tests that have RDI enabled. Can you reproduce the issue at all by running the test in isolation?

  3. Breakpoints not working properly

    I suspect this issue is being caused by the NCrunch's portable PDB writer. We rebuild the portable PDB when we instrument the assembly, and something must be going wrong at this point. To isolate it, I'll need a sample project that can reproduce the problem. Using legacy PDBs is, for the time bei…

  4. NCrunch grid node on linux

    Hi Thomas, Thanks for posting. Although the tech has certainly moved and the porting of the engine to .NET6 has made it easier to move things towards linux, this unfortunately still does not look to be achievable given the present state of affairs. Even though most of NCrunch is in theory cro…

  5. NCrunch.Framework dependencies

    Thanks, I'll check it out.

  6. Conditionally referenced project fails to build

    This directory should be controlled via the workspace base path setting (above). The workspace base path defines the root of the path where NCrunch shadow copies files in order to build the projects and run tests. If you're still seeing files under AppData after changing this setting, can you clar…

  7. Conditionally referenced project fails to build

    NCrunch should be able to handle distant siblings. It does this by nesting the workspace path so that the relative references can still function. However, this will increase the overall path length. Does moving the workspace base path close to your disk root (i.e. something like 'C:\WS') resolv…

  8. Conditionally referenced project fails to build

    Hi, thanks for sharing this issue. Conditional project references can be problematic because they can cause misalignment between the project.assets.json file (generated at load time by VS) and the actual build step (executed by NCrunch in the workspace). The easiest way to confirm whether the …

  9. VBCSCompiler.exe hangs for several seconds/several minutes

    Hi, thanks for sharing this issue. This is, categorically, a platform stability issue. VBCSCompiler is a shared process that gets used by all MSBuild runs on the machine to perform compilation as a service. As such, there's usually one instance of it that takes responsibility for all compiler r…

  10. Allow ASCII colors in Trace Output

    Thanks for sharing this suggestion. We've actually wanted this ourselves for years, since we also use large trace outputs ourselves, and having the ability to colourise them would be really nice. We made several attempts at it, but discovered it was actually much harder than we expected it to be…

  11. Xunit.DependencyInjection and OperationCanceledException

    Hi, thanks for sharing this issue. This tool seems to be deeply integrated with Xunit. It implements its own runner classes and changes the behaviour of the test framework itself. I don't know of a way to use this with NCrunch out of the box. We'd probably need to undertake a small project to …

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

    Great to hear! I have a feeling you might see this issue again, but I suspect it may be due to execution sequence or batching, in which case re-running the whole test suite will likely resolve it. Another option is to clear out your NCrunch cache files, which would reset the engine's knowledge of …

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

    Thanks for these extra details. This issue has me a bit perplexed. It would be really great if you're able to pinpoint exactly which version update started causing this problem. Off the top of my head, I can't think of anything we've recently changed in the product that could cause this other tha…

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

    Hi, thanks for sharing this issue. My first thought is to check your [url=https://www.ncrunch.net/documentation/guides_runtime-data-inspection]RDI settings[/url]. RDI is a new feature we introduced in V5 which gives a wide range of new analysis features for code under test. The drawback is that…

  15. NCrunch Test window jittering

    Make sure you're running on the latest version of the software. We pushed a fix for this with the latest build.

  16. Build fails - net48/win7-x86 not found

    Hi, thanks for sharing this issue. I think this is being caused by a discrepancy between the build system being used by VS compared with NCrunch. Most likely the project.assets.json file generated by VS's package restore step has been generated by a different version of the platform to the one…

  17. RDI Storage Location

    Hi, thanks for posting. There is no true default path for RDI storage in NCrunch. When setting up RDI, you need to specify a path. The UI is designed around this because it's important you know where the storage path is, and that you make sure to set sensible allowances for its size. Most …

  18. Build issue net90

    [quote=Dirk Maegh;17677]It would be nice however if the tool could maybe in the output refer to some documentation page explaining this ? (optional of course, I can always create an issue on this forum :))[/quote] Ideally, yes. Actually, it would be best if it could just align itself and work wi…

  19. Build issue net90

    Hi, thanks for sharing this issue. The .NET platform and MSBuild do some odd things in their resolution logic around preview builds of .NET. It's designed in such a way that we can't safely replicate it in NCrunch, and this causes confusion inside the build system. To resolve this, you'll nee…

  20. Unpinned tests reappear as pinned

    [quote=ErikBangtsson;17669]Thanks, it seems to be working. Just a followup; how do I "adjust the Tests Window filters to make sure that new tests are listed". Can't find it in the Configuration window[/quote] Look for the Tests Window toolbar button with a blue question mark on it with a little e…