Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Timeout for tests with dynamic data
Yes, this was why I wasn't 100% confident on the DynamicAnalysis being a solution for you, as it does have certain limitations. Enums are considered user types in IL, so I guess they fall under the blanket rule of not being a primitive type. Perhaps try converting them into strings and then back a…
17 Dec 2025 10:12 UTC
-
Timeout for tests with dynamic data
Hi, thanks for sharing this. First, I recommend checking the 'Framework utilisation type' setting for MSTest, as setting this to DynamicAnalysis may allow NCrunch to enumerate the test the way you'd like it to (which would solve the problem). If the above doesn't work, I'd suggest using [url=h…
17 Dec 2025 08:12 UTC
-
Unwanted padding of windows in Rider
Thanks. This may be able the best I'm able to do here. This is a Winforms UI being piped through 3 processes and into a JVM environment, inside a dockable pane that it can't control, and subject to a lot of DPI hacks to prevent it from warping.
08 Dec 2025 09:15 UTC
-
Unwanted padding of windows in Rider
Thanks for these extra details. Would you like to try the build below and let me know if it solves the issue for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.21.0.2.msi]NCrunch_Console_5.21.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_C…
08 Dec 2025 08:39 UTC
-
Intermittent failure to find cshtml files by NCrunch
Thanks for the repro. I've gone down a bit of a rabbit hole trying to get this to work for you, but I think I'm going to have to admit that you aren't likely to get this particular test structure working with NCrunch. This MS toolset essentially relies on magic to find the razor files, and my at…
07 Dec 2025 10:12 UTC
-
Intermittent failure to find cshtml files by NCrunch
Looking under the hood at how this works, I think the key here is how the root path to the Razor views is being set. This will likely depend on your test code (i.e. WebApplication.CreateBuilder / Host.CreateDefaultBuilder). It may be dependent on Directory.GetCurrentDirectory(), so if you have any…
07 Dec 2025 00:52 UTC
-
Unwanted padding of windows in Rider
Thanks for sharing this information. From what you've provided, I've had a go at reproducing this problem. I can occasionally produce intermittent problems where the tool window has padding, but resizing it always immediately corrects the issue. This contrasts with the issue you've described wh…
07 Dec 2025 00:36 UTC
-
Intermittent failure to find cshtml files by NCrunch
Hi, thanks for sharing this issue. Can you share any details about how you're finding the .cshtml files in your code? This feels like you have an [url=https://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies]implicit dependency[/url] on them that NCrunch is…
06 Dec 2025 02:18 UTC
-
Unwanted padding of windows in Rider
My suspicion right now is that the problem is being caused by the DPI scaling not being handled consistently through the wormhole. Has the problem returned at all now that your DPI scaling is consistent between monitors? If not, does turning on the scaling difference cause it to reappear? Per…
05 Dec 2025 23:25 UTC
-
Metrics window -- name colomn with extends beyond border
Hi Anders, Normally, this setting should be stored in the .ncrunchsolution.user file (which is where NCrunch itself will put it), but it doesn't actually have to be. It's possible for it to be hand-coded into any of the solution or global settings files. I would suggest a full configuration r…
05 Dec 2025 11:11 UTC
-
Unwanted padding of windows in Rider
Thanks for confirming this. Are you running with DPI scaling at all? Perhaps multiple monitors with different scaling settings?
05 Dec 2025 09:05 UTC
-
Unwanted padding of windows in Rider
Hi Peter, Thanks for sharing this. Does resizing the window suppress the issue?
04 Dec 2025 22:34 UTC
-
VS on 100% CPU for several seconds on each build when NCrunch is disabled
[quote=ndeslandes;18507] Shame that the ordering isn't taken into consideration; it would be nice if in this setup above, NCrunch avoided scheduling jobs on core 2,3 if it had only 4 parallel jobs running. Although tbh that would be pretty difficult to do in practice if you start off with 100s of j…
29 Nov 2025 23:10 UTC
-
VS on 100% CPU for several seconds on each build when NCrunch is disabled
[quote=ndeslandes;18505] One thing I was wondering, is the list of cores assigned to NCrunch ordered? Like if I have this setup: IDE Cores: 0, 2, 4, 6 NCrunch Cores: 1, 3, 5, 7, 2, 4, 6 Would that cause NCrunch to only use cores 2, 4, 6 if it has more than 4 parallel jobs to run?[/quote] N…
29 Nov 2025 11:14 UTC
-
VS on 100% CPU for several seconds on each build when NCrunch is disabled
Jackpot :) I can only speculate about why this was causing some of the weirdness you've found here. I'm impressed at the level of creativity you've shown in diagnosing the problem. To avoid any performance issues, I recommend ensuring VS2022/2026 has at least 4 cores, ideally 5. I realise th…
29 Nov 2025 08:41 UTC
-
VS on 100% CPU for several seconds on each build when NCrunch is disabled
Checking the environment variables was worthwhile... my first thought was whether there was a setting propagating into MSBuild that changed its lifecycle, clearly that's not the case. Can you check the windows event viewer? If the MSBuild.exe process was torn down unexpectedly, there might be er…
28 Nov 2025 23:16 UTC
-
VS on 100% CPU for several seconds on each build when NCrunch is disabled
[quote=ndeslandes;18495] A few more precisions on what I've observed: [list] [*] The freeze doesn't happen if NCrunch is enabled when solution is open and then disabled, only if the solution starts with NCrunch disabled for it [*] It happens on any solution, including brand-new .NET 10 slnx Co…
28 Nov 2025 08:17 UTC
-
Rendering each test case for an XUnit Theory
I apologise in providing some misleading advice above. Another user has managed to get user types enumerating with classdata by implementing IXunitSerializable - [url=https://forum.ncrunch.net/yaf_postst3640_XUnit--Memberdata.aspx]https://forum.ncrunch.net/yaf_postst3640_XUnit--Memberdata.aspx[/url…
28 Nov 2025 01:48 UTC
-
VS on 100% CPU for several seconds on each build when NCrunch is disabled
Would you be able to submit a bug report? The report contains a section on configuration settings that I'd like to review. It would also be interesting to see what MSBuild is doing. Do you think you could attach a debugger to it during the hang, and examine the running threads? Another inter…
27 Nov 2025 22:58 UTC
-
XUnit, Memberdata
Hi, thanks for posting. Xunit rolls up the cases for this test (on instruction from NCrunch) because they are built using a user-defined type declared on their signature, which introduces significant complexity and risks when transferring them from the test discovery domain into the runtime envir…
26 Nov 2025 23:28 UTC