Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Cannot build Azure Function having reference to Microsoft.Azure.Functions.Worker.Sdk 1.17.3

    Would you be interested in trying the build below, and letting me know if it solves the issue for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.10.0.1.msi]NCrunch_Console_5.10.0.1.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.10.0.1.…

  2. Cannot build Azure Function having reference to Microsoft.Azure.Functions.Worker.Sdk 1.17.3

    Thanks for sending through the sample project. I've reproduced this problem in the way you've described it. The issue is caused by a nested build that happens inside the build of this project. Normally, we shut this off as it isn't required for NCrunch and just gives us trouble. Unfortunately,…

  3. Rider - build in progress - continuously

    Hi, thanks for sharing this issue. This sort of problem is usually caused by build loops. Something is constantly making changes to files in the source directory, which keeps triggering NCrunch. Sometimes this is actually triggered by NCrunch itself - if the source contains absolute file paths,…

  4. Cannot build Azure Function having reference to Microsoft.Azure.Functions.Worker.Sdk 1.17.3

    Thanks for sharing this. Do you have a sample project you can share with me that can produce this issue? You can submit this to me in ZIP form through the [url=https://www.ncrunch.net/support/contact]NCrunch support contact form[/url].

  5. InvalidCastException When Using [StructLayout] to Reinterpret Bytes

    Hi, thanks for sharing this issue. It looks like RDI doesn't like this. Having two fields sharing the same place in memory must be causing some crosswiring at IL level or in the evaluation stack. I seemed to have a different experience with this problem to you. Although I can reproduce it cons…

  6. Not initializing due to exception

    Sorry that this is such a painful issue. I may have some good news though. Can you confirm which version of NCrunch you've last tested this on? In v5.8 (released 20th of June) we included a change/hack by which NCrunch will forcefully align MSBuildProjectName with the main project name. This was…

  7. Project cannot be built

    Where we can, we do try to get NCrunch giving useful error messages. In this particular case, the error was coming from a nuget package - not from NCrunch. The only way for us to improve on this error would be to introduce special handling for just this Nuget package. Given that there are a lot…

  8. Project cannot be built

    Thanks for sharing this sample. The problem is caused by a missing dependency. In the project file, some of the Graphql files are explicitly removed from the project: <ItemGroup> <None Remove="GetAllOthersV1.graphql" /> <None Remove="GetOneContractVersionV1.graphql" /> </ItemGroup> …

  9. Project cannot be built

    Hi Dirk, We've done no work to support this kind of project type. You can submit small samples in ZIP form through the [url=https://www.ncrunch.net/support/contact]NCrunch contact form[/url].

  10. System.BadImageException on NCrunch loading inside Rider if NCrunch Console Tool is installed

    Fix is [url=https://www.ncrunch.net/download]now out with v5.9[/url]. I'll add that this is speculative. I couldn't get it to fail on my side, but I've implemented the pre-loading of Fusion.dll and all of our own tests are staying green, so I'm fairly confident that it won't be any worse than it…

  11. System.BadImageException on NCrunch loading inside Rider if NCrunch Console Tool is installed

    Wow, good find! Terribly useful thing, having developers as users :) It's interesting that this doesn't seem to be failing in other environments. Maybe there are different install states when it comes to fusion.dll. I'll see if I can get you a build with this fix included.

  12. System.BadImageException on NCrunch loading inside Rider if NCrunch Console Tool is installed

    Here is the code that is failing: [code] private static IAssemblyCache createAssemblyCache() { IAssemblyCache assemblyCache; int hr = CreateAssemblyCache(out assemblyCache, 0); if (hr != 0) Marshal.ThrowExceptionForHR(hr)…

  13. "NCrunch Configuration" window scrollbars issues

    It looks like this is a regression issue in v5.8. It should be possible to work around it by dragging the splitter to the bottom of the window so that the bottom areas of the top pane become visible. A fix will be out with the next build. Sorry for the trouble.

  14. "NCrunch Configuration" window scrollbars issues

    Thanks for sharing this issue. I've managed to reproduce it more or less as described. It looks like the size for the top pane is spanning the entire window and is flowing out of the pane. We'll see what we can do about getting this fixed.

  15. Breakpoints not working properly

    Thanks for sharing this. I think the best option may be to force the use of legacy PDBs under NCrunch for this project, while keeping the portable PDBs for your normal build system. Could you try adding a [url=https://www.ncrunch.net/documentation/reference_project-configuration_custom-build-pro…

  16. Feature requests are moving back to this forum

    Uservoice have changed their service agreement along with other things, and as we aren't receiving as many requests as we were in the past, it doesn't make sense to set up another feature voting alternative for the time being. I've downloaded the existing requests that we'd collected from Uservoi…

  17. System.BadImageException on NCrunch loading inside Rider if NCrunch Console Tool is installed

    [quote=talbrecht;17472] I uninstalled all NCrunch installations (Console, VS2019, VS2022, Rider) and have reinstalled NCrunch in Rider only... and it still fails. So there is something wrong with my system/GAC. [/quote] Sorry to hear that. We have a number of dev/test environments with many ve…

  18. System.BadImageException on NCrunch loading inside Rider if NCrunch Console Tool is installed

    Hi Thomas, I wonder if this could be an install state issue. Could you try the [url=https://www.ncrunch.net/documentation/troubleshooting_installation-and-setup-problems]removal and reinstall fix[/url] for both VS instances of NCrunch that you have installed, and try reinstalling the Rider plugi…

  19. Breakpoints not working properly

    Thanks for these extra details. Could you please try building using the legacy non-portable PDBs? This will then take the instrumentation through a very different path and would help to establish if this problem is being caused by something odd with the PDBs themselves. It looks to me like th…

  20. System.BadImageException on NCrunch loading inside Rider if NCrunch Console Tool is installed

    Hi, thanks for sharing this issue. Although this looks like one of those x86/x64 issues, I don't think this is actually the case here. This exception is thrown by the platform when a component in the engine is trying to make a pinvoke call to CreateAssemblyCache in fusion.dll. This is being don…