Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
NCrunch Build Failure - Azure function c# Net5.0
Thanks Michael. I've examined the log you've submitted and made several attempts to reproduce the problem in my environment. Unfortunately, an Azure project built from a VS project template seems to work fine for me under .NET 5.0, so I suspect there may be a difference between our environments th…
16 Sep 2021 00:49 UTC
-
running(first time run)
[quote=melnikd;15640] I can try NCrunch v4.9 [/quote] My apologies. I've just re-read your original post and it looks like you're already on the latest version. I'm having difficulty reproducing this on my side. Under .NET 5.0, MSTest seems to work normally in my environment. Are you abl…
16 Sep 2021 00:47 UTC
-
running(first time run)
Thanks for the report! Here is the error: System.BadImageFormatException: Could not load file or assembly 'file:///C:\Users\melnikd\AppData\Local\NCrunch\29592\10\<AssemblyPath>.Tests.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and c…
15 Sep 2021 00:49 UTC
-
running(first time run)
[quote=melnikd;15634]Sure, if you tell me where to go to collect the logs [/quote] Click on the 'NCrunch' menu then choose the 'Submit bug report' option.
14 Sep 2021 13:41 UTC
-
running(first time run)
Thanks for sharing this. Are you able to submit a bug report after you've had this happen to you? I'm hopeful the log file will contain some useful information.
14 Sep 2021 00:04 UTC
-
InvalidOperationException with init properties again (.NET 5)
Thanks for these extra details. Sometimes we can reproduce issues based on their description and no code sample is necessary. Unfortunately, in this case, we definitely need to be provided with a sample that can consistently produce the problem to have any hope of fixing it. My suspicion is t…
31 Aug 2021 00:24 UTC
-
InvalidOperationException with init properties again (.NET 5)
Hi, thanks for sharing this issue. Are you able to isolate this in a self-contained sample solution that you can share with me? You can upload small solutions in ZIP form through the [url=https://www.ncrunch.net/support/contact]NCrunch contact form.[/url]
28 Aug 2021 01:13 UTC
-
nCrunch and PostSharp
Hi, thanks for sharing this issue. This problem is occuring because postsharp is executing code that has been instrumented by NCrunch. The GAC workaround won't work in this scenario, probably because the environment used by Postsharp doesn't include the GAC in its search path. Something you c…
26 Aug 2021 12:12 UTC
-
Build fails if SourceGenerator project has a package reference.
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_4.10.0.2.msi]NCrunch_Console_4.10.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.10.0.2.zip]NCrunch_Console_4…
21 Aug 2021 13:23 UTC
-
Problem with new instrumentation since 4.9
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_4.10.0.2.msi]NCrunch_Console_4.10.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.10.0.2.zip]NCrunch_Console_4…
21 Aug 2021 13:22 UTC
-
Problem with new instrumentation since 4.9
Thanks for these details. I can confirm that I can now reproduce this problem at will using the specified library. I will let you know as soon as we have a fix available.
20 Aug 2021 13:53 UTC
-
Build fails if SourceGenerator project has a package reference.
[quote=yusuf;15614]I use Visual Studio 2019 16.11.0. I have tried again with a fresh clone of the repository and Visual Studio built it on first try without any errors.[/quote] Thanks for this info. I can confirm that this is something new they pushed out with 16.11. After updating the IDE I ca…
20 Aug 2021 13:42 UTC
-
Problem with new instrumentation since 4.9
Hi, thanks for sharing this problem. This looks to be caused by a hole in our CIL handling. The type mentioned in the error descends from a type declared in another assembly that doesn't seem to fit the CIL structure expected by NCrunch. I'm wondering if it might have been manipulated/obfuscate…
20 Aug 2021 05:59 UTC
-
Build fails if SourceGenerator project has a package reference.
Thanks for sharing this. When I attempt to build the sample under VS2019, I get the same failures as NCrunch is reporting. Can you confirm which version of VS you're building this with? When we added the support for source generators, we couldn't find a way make the source generator projects buil…
20 Aug 2021 05:54 UTC
-
NCrunch is fantastic, thank you
You made my day today. Thank you :)
18 Aug 2021 12:43 UTC
-
NCrunch hangs during Build with Engine Core Load 97%
[quote=Kelon;15604] It seems to lock on CoreDispatcher -> ClearProcesses -> [b]TerminateProcess[/b] while a StopUsingProcess in a Worker is already running, but tries to call [b]TerminateProcess[/b][/quote] Thanks! This helps a great deal. I've examined the code involved, and interestingly,…
17 Aug 2021 01:07 UTC
-
The target "_SplitProjectReferencesByFileExistence" does not exist in the project.
[quote=cheil;15601] Since I wanted 6 gone, I deleted the 6.0 folder, restarted NCrunch, and it immediately resolved my issue. I am guessing the `dotnet` command will look for the highest version number folder, and the uninstaller must have left the folder behind, resulting in everything breaking.[/…
14 Aug 2021 00:07 UTC
-
NCrunch hangs during Build with Engine Core Load 97%
A deadlock! Are you able to spot the other side of the lock? (i.e. any other threads inside ExternalProcessManager?) Also, are you using MSTest for any of your tests?
12 Aug 2021 00:14 UTC
-
NCrunch hangs during Build with Engine Core Load 97%
I've implemented a speculative fix for a possible race condition I've discovered in this this component. Would you be interested in trying the build below to see if it works better for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.10.0.1.msi]NCrunch_Console_4.10.0.1.…
09 Aug 2021 07:52 UTC
-
Unit Testing Source Generators
Would you be interested in trying the build below to see if this works better for you? We've implemented this now using a warning as described earlier. [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.10.0.1.msi]NCrunch_Console_4.10.0.1.msi[/url] [url=https://s3.amazonaws.c…
09 Aug 2021 07:51 UTC