Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. 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…

  2. 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…

  3. 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…

  4. 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.

  5. 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.

  6. 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…

  7. 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]

  8. 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…

  9. 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…

  10. 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…

  11. 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.

  12. 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…

  13. 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…

  14. 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…

  15. NCrunch is fantastic, thank you

    You made my day today. Thank you :)

  16. 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. 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.[/…

  18. 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?

  19. 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.…

  20. 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…