Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
System.OutOfMemoryException in churn mode
Hi, thanks for sharing this issue. Do you still experience this problem when running the test with the 'Test Process Memory Limit' NCrunch config setting set to something sensible? My guess here would be that accumulated memory in the process is pushing it past the x86 2GB memory limit. Setting…
04 Apr 2023 23:33 UTC
-
Build fails with project reference outside solution root
[quote=RichardHauer;16574] Well the workaround is a PITA and I would prefer not to have to do this every time. Happy to share the build logs but there's not too much to see from my initial take - the project in question was not even mentioned in the log at all! Note that while I'm happy to share…
04 Apr 2023 23:30 UTC
-
Build fails with project reference outside solution root
Hi, thanks for sharing this issue. NCrunch itself actually doesn't care about the solution root. It's possible to have projects specified well outside the solution directory and the tool should be able to find them - but it's important that these project reference each other using correct relati…
03 Apr 2023 23:27 UTC
-
Have InvalidCastException when build test projects with NCrunch
[quote=Xinyu;16566]Hi, Thanks for answering. I'm not using the newest version. I'm using 4.11. Unfortunately we only have license for 4.11. Then that's the reason.[/quote] Sorry, to resolve this issue you'll either need to roll back to an earlier version of MSTest, or upgrade your NCrunch. Th…
30 Mar 2023 23:10 UTC
-
Memory leak?
Hi, thanks for sharing this issue. At the moment we aren't aware of any memory leaks in NCrunch itself that could cause this kind of behaviour, but when there are 8000+ tests involved, sooner or later this is probably going to happen. It's not an uncommon problem either. It's not easy to veri…
28 Mar 2023 23:16 UTC
-
Have InvalidCastException when build test projects with NCrunch
Hi, thanks for posting. Can you confirm whether you are running the latest version of NCrunch? There was a breaking change in MSTest a few months ago that was causing issues like this one.
24 Mar 2023 23:25 UTC
-
Two broken machines
The cleaning of grid nodes is slightly different to clients. You'll probably want to clear out the snapshot storage directory on the node (this is a configurable path, but will default to the logged in user local data directory). Cleaning out the workspace base path is probably also an option in c…
22 Mar 2023 22:22 UTC
-
Azure Function : build issue
[quote=GlobalConcepts;16555]Is this still needed in 2023 with NCrunch v4.16 testing Azure Functions v4 with TargetFramework net6.0?[/quote] No. We implemented a slightly more streamlined version of the above workaround into NCrunch itself, so you shouldn't need to have additional engineering in …
21 Mar 2023 22:55 UTC
-
Two broken machines
Hi Alberto, Thanks for sharing this issue. The uninstaller should remove the NCrunch install files from VS. There are two other things to clear if you want a full reset: - Ensure that you remove the configuration file at C:\Users\USER\AppData\Roaming\NCrunch - Remove the _NCrunch_* direct…
21 Mar 2023 22:44 UTC
-
$(MicrosoftNetCoreAppRuntimePackDir)='', and cannot find %(ResolvedRuntimePack.PackageDirectory)=
Thanks for sharing the sample project. Interesting, the project doesn't seem to reproduce the error on my machine. I've tried variations in install state (i.e. VS with blazor installed and without), yet for some reason my build logic doesn't seem to reference or include the file responsible. Th…
20 Mar 2023 23:48 UTC
-
$(MicrosoftNetCoreAppRuntimePackDir)='', and cannot find %(ResolvedRuntimePack.PackageDirectory)=
Thanks for sharing this issue. Can you share any more details about how this particular project was constructed? When I create a standard webassembly blazor project, I don't seem to get this issue under NCrunch. I think this is caused by a complicated set of dependencies. If you're able to s…
19 Mar 2023 20:22 UTC
-
On every keystroke, NCrunch is running git.exe
Hi, thanks for posting. NCrunch doesn't call git.exe itself, but if this is being invoked by your build system or test code, then it can be triggered in response to actions by NCrunch. Most likely you have a build step that is performing this action. I suggest checking through your projects f…
17 Mar 2023 22:20 UTC
-
Xunit analyzer does not appear to affect NCrunch build
Hi, thanks for sharing this. I appreciate the sample code, this really helps a lot in troubleshooting these problems. For performance reasons, NCrunch disables analyzers like this by default. To turn them back on, enable the 'Allow code analysis' configuration setting for the projects involve…
16 Mar 2023 22:48 UTC
-
NCrunch cannot seem to build the unittest project
Could you try the build below and let me know if this solves the issue for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.17.0.3.msi]NCrunch_Console_4.17.0.3.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.17.0.3.zip]NCrunch_Console_4.1…
15 Mar 2023 05:08 UTC
-
NCrunch cannot seem to build the unittest project
Thanks for sending through the sample solution. I've reproduced the issue exactly as described. I'm not sure at the moment if this is caused by changed behaviour in the platform, or if we missed something when we added special handling for analyzers, but this will require a code-fix to NCrunch. I…
14 Mar 2023 05:51 UTC
-
NCrunch cannot seem to build the unittest project
Hi Dirk, Thanks for sharing this issue. You can upload the sample solution through the [url=https://www.ncrunch.net/support/contact]NCrunch contact form[/url] (Must be less than 10MB). Are you able to share the build error here?
13 Mar 2023 11:10 UTC
-
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Thanks for sharing these details. The issue is here: <TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion> We currently don't support v4.8.1 with NCrunch. This is because for v4.8.1, MS did not release a build that would work on anything but the newest releases of Windows 10 and Windows 11…
09 Mar 2023 09:57 UTC
-
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
[quote=CodeAdze;16530]Sure no problem. Is it a copy of the VB project file (.vbproj) that you need?[/quote] Sure. You can upload it through the [url=https://www.ncrunch.net/support/contact]contact form[/url] if you like, or copy/paste it here.
09 Mar 2023 03:20 UTC
-
RawResults.xml contains incorrect information
Hi, thanks for sharing this issue. My assumption here is that the exporter is exporting the results of ALL tests stored in the cache file, instead of just the ones that were actually run. We've had this problem in the past with some of the other reports, which we've since fixed .. I guess this…
08 Mar 2023 22:29 UTC
-
nCrunch poor Test Performance and lost in "Analyse Assembly"
Is this a 32-bit test environment? Note that for historical reasons, NCrunch will default to 32-bit environments when running tests for assemblies that are built for AnyCPU. You can override this behaviour by forcing the test project to build to x64 or by setting the [url=https://www.ncrunch.net/d…
08 Mar 2023 10:33 UTC