Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
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
-
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Hi, thanks for sharing this issue. It looks like NCrunch isn't properly detecting the target platform for this project. Is it possible for you to share the project XML with me? (you can exclude any included file names if you like).
08 Mar 2023 09:51 UTC
-
nCrunch poor Test Performance and lost in "Analyse Assembly"
Thanks for sharing this. The Win32 error code kicked up by the API is ERROR_NOT_ENOUGH_MEMORY. How much available memory do you have at the time the test starts running?
08 Mar 2023 09:49 UTC
-
nCrunch poor Test Performance and lost in "Analyse Assembly"
Could you try the build below and show me the error message it gives you? I haven't yet managed to understand this problem, so I've added some extra diagnostic details in the build to try and figure it out. For some reason, the API responsible for allocating shared memory is failing. Maybe this b…
08 Mar 2023 02:44 UTC
-
nCrunch poor Test Performance and lost in "Analyse Assembly"
Horrah! Thanks for sticking with this one! Performance issues are usually the toughest ones to figure out. Now, this problem will be gone for anyone else with a similar solution structure :)
06 Mar 2023 11:38 UTC
-
Additional files to include > Add Directory not showing any directories
Hi, thanks for posting. Unfortunately, this bug is actually in the O/S. I think it's been caused by a recent Windows update. See here for details: [url=https://forum.ncrunch.net/yaf_postst3273_Extract-Full-HTML-Result-Save-Issue.aspx]https://forum.ncrunch.net/yaf_postst3273_Extract-Full-HTML-Re…
06 Mar 2023 00:12 UTC