Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Visual Studio Build Performance issues with NCrunch enabled
Could you make sure that your solution directory has been added to the exclusion list for Windows Defender and any other AV products you may have installed? Also, can you confirm whether you are using the 'Additional files for grid processing' NCrunch setting or 'Additional files to include' at s…
08 Feb 2025 09:32 UTC
-
Visual Studio Build Performance issues with NCrunch enabled
Thanks for sending through the reports. Could you try changing your [url=https://www.ncrunch.net/documentation/reference_global-configuration_cpu-cores-assigned-to-ncrunch-or-ide]CPU core assignments[/url] so that ALL cores are assigned to both NCrunch and VS? (so they share them all), and let me…
07 Feb 2025 22:46 UTC
-
Visual Studio Build Performance issues with NCrunch enabled
Thanks for sharing this. I'd really like to know what the engine host is doing while this is building. Is the NCrunch corner spinner showing any activity from the engine while the build is happening? Or is everything in NCrunch just visibly idle? Normally when you run a build from VS, NCrunch …
06 Feb 2025 22:11 UTC
-
Visual Studio Build Performance issues with NCrunch enabled
Hi Daniel, Thanks for sharing this issue. Can you keep an eye on your system resources when trying these tests? Particularly I'm interested in: - What percentage of your CPU is being used in each case. Is your CPU being fully utilised, or is much of it doing nothing? - How the CPU is being…
06 Feb 2025 11:24 UTC
-
NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error
When I'm developing on NCrunch and something isn't right in the test process, I see a lot of these errors too. I would say it's probably the most frustrating problem under NCrunch ... just a 'something went wrong'. The root problem comes down to how the platform works. If a process raises an ex…
03 Feb 2025 11:30 UTC
-
NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error
Thanks for sharing this. It's good advice, and I'm updating the error message to include it.
03 Feb 2025 03:07 UTC
-
.NET Core unit tests for project build as exe
I've looked into this issue in more detail, and I feel it's worth adding some notes here for anyone impacted by it. My initial understanding of this problem was wrong. The generation of the .EXE stub for application based projects in newer versions of .NET is handled by a chain of build steps th…
02 Feb 2025 10:25 UTC
-
Gitignore .NCrunch_* vs _NCrunch_*
Hi, thanks for flagging this up. We changed it and forgot to update the documentation. I've corrected it now.
29 Jan 2025 22:22 UTC
-
NCrunch has encountered an internal error: System.IndexOutOfRangeException: Index was outside the bo
[quote=davetorutek;17865]We've ran in to this on one of our projects. What can we do to help debug? Happy to run a debug build of ncrunch or something. Sharing the project might be a stretch (it uses an internal nuget feed), but if we really need to we might be able to provide it.[/quote] To hav…
28 Jan 2025 03:35 UTC
-
Portable vs Full pdbs
Could you try the build below and let me know if this solves the problem for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.12.0.6.msi]NCrunch_Console_5.12.0.6.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.12.0.6.zip]NCrunch_Console_5…
22 Jan 2025 01:38 UTC
-
Portable vs Full pdbs
Thanks for sharing this issue. The problem looks to be caused by a null entry in the PDBs document table, which seems like it should be an error case, but I guess the compiler is emitting it, so we should probably assume that it's valid. Are you running anything that might affect the behaviour…
21 Jan 2025 11:11 UTC
-
Aspire
Thanks for engaging with their team on this. I noticed that they responded quite quickly to your request, which is encouraging. However, I'm going to park this issue for now. Even if the MS team responsible for Aspire is willing to make changes to accommodate NCrunch support, the tools are far …
19 Jan 2025 22:52 UTC
-
NullReferenceException at nCrunch.Common.IO.DiskPath.DoRebase
[quote=spolonski;17850]Thanks Remco, That helps me. The variable OutDir is currently set in Directory.Build.props without a condition. I will play with a condition property. [/quote] Good catch! Try this: [code] <Project> <PropertyGroup Condition="'$(NCrunch)' != '1'"> <OutDir…
15 Jan 2025 11:28 UTC
-
NullReferenceException at nCrunch.Common.IO.DiskPath.DoRebase
Thanks for sending through the bug report. According to the report, the build of your primary project inside the NCrunch workspace is resolving the path of the compiled assembly to a location under your 'Program Files (x86)' directory. This is causing some downstream issues as NCrunch doesn't ex…
15 Jan 2025 11:14 UTC
-
NullReferenceException at nCrunch.Common.IO.DiskPath.DoRebase
Hi, thanks for sharing this issue. It looks like there's a file being included in the project that has a weird path, perhaps something over a network? Would it be possible for you to submit a bug report after this failure? I'm hoping the log file in the report will reveal more information.
14 Jan 2025 22:56 UTC
-
Metrics columns not showing
Hi Mark, Thanks for posting. Something must have gone wrong with the settings for your columns in this window. The easiest option is probably to just wipe this part of the settings so that they can reset to default. Column sizes are stored in the *.ncrunchsolution.user file. If you look f…
09 Jan 2025 23:12 UTC
-
Xunit.v3 analysis failure
I've implemented another fix for the Xunit DLL resolution issue in the build below, I'm hoping this solves the problem completely: [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.12.0.5.msi]NCrunch_Console_5.12.0.5.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net…
09 Jan 2025 00:26 UTC
-
Xunit.v3 analysis failure
I can't seem to reproduce the problem anymore after introducing the above fix. Are you able to reproduce it using a sample project that you can share with me? You can upload small projects to me in ZIP form through the [url=https://www.ncrunch.net/support/contact]NCrunch contact form[/url]. E…
08 Jan 2025 12:29 UTC
-
Xunit.v3 analysis failure
Hi, Thanks for sharing this issue. I think I've managed to isolate it. It looks like the 'Copy reference assemblies to workspace' setting interferes with the Xunit3 assembly resolution. You can either disable this setting, or try the build below (in which I've implemented a fix): [url=https…
08 Jan 2025 04:23 UTC
-
Secondary monitor scaling issue
... Could you also confirm for me if adjusting the 'Optimize rendering for screens with different pixel densities' setting under your VS options (Environment->General) has any impact on this issue?
07 Jan 2025 11:49 UTC