Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
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…
20 Nov 2024 23:37 UTC
-
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?
20 Nov 2024 23:20 UTC
-
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…
19 Nov 2024 22:48 UTC
-
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…
15 Nov 2024 07:39 UTC
-
NCrunch.Framework dependencies
Thanks, I'll check it out.
12 Nov 2024 22:31 UTC
-
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…
12 Nov 2024 11:16 UTC
-
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…
11 Nov 2024 22:52 UTC
-
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 …
11 Nov 2024 11:30 UTC
-
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…
06 Nov 2024 12:45 UTC
-
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…
31 Oct 2024 22:57 UTC
-
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 …
30 Oct 2024 23:14 UTC
-
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 …
24 Oct 2024 23:00 UTC
-
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…
24 Oct 2024 11:58 UTC
-
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…
22 Oct 2024 22:48 UTC
-
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.
22 Oct 2024 22:44 UTC
-
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…
21 Oct 2024 12:34 UTC
-
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 …
15 Oct 2024 22:27 UTC
-
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…
14 Oct 2024 11:19 UTC
-
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…
14 Oct 2024 11:08 UTC
-
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…
11 Oct 2024 22:35 UTC