Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Using EnableRdi(false) attribute results in NullReferenceException from LogStateMachineCompletion
[quote=Magnus Lidbom;17736] Very much interested :)[/quote] Excellent. I'm nursing one through our build system at the moment and will let you know when it's available.
21 Nov 2024 01:04 UTC
-
Using EnableRdi(false) attribute results in NullReferenceException from LogStateMachineCompletion
Thanks, I think I've isolated this issue. Would you be interested in trying out a new build with a fix included?
21 Nov 2024 00:42 UTC
-
Disabling RDI for a project doesn't restore performance, only disabling it for the solution does
[quote=Magnus Lidbom;17731] I don't understand. That sounds self-contradictory to me. How can it be disabled for the code in the test project but not for the tests in the test project? The tests are the code in the test project :) [/quote] Sorry, perhaps I should have been clearer. Tests cove…
21 Nov 2024 00:18 UTC
-
Using EnableRdi(false) attribute results in NullReferenceException from LogStateMachineCompletion
Thanks for these extra details. My current theory is that there is a thread running past the end of the main test execution and that it's getting into trouble with RDI collection while the async block winds down. Does the test contain any mechanisms to make sure that the threads have all complet…
21 Nov 2024 00:07 UTC
-
Unable to build apps with "older" Windows SDK
Hi, thanks for sharing this issue. The first thing I'd suggest checking here is whether the SDK installations on your machine are exactly the same as what you are targeting. VS has a LOT of implicit behaviour in resolving SDKs, and I've found many occasions in the past where it's quietly serve…
20 Nov 2024 23:47 UTC
-
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