Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. NCrunch 4 - Instrumentation Mode - Optimized - Project fails to build

    I've made an effort to harden the code responsible for kicking up these problems. Unfortunately, the stack traces didn't give me enough information to reproduce the issues themselves, but I'm hoping the build below will have a good chance of solving them: [url=https://s3.amazonaws.com/downloads.…

  2. NCrunch building csproj files not in solution?

    Hi, thanks for posting. This behaviour is by design. As NCrunch takes responsibility for building your projects, it needs to first build the dependencies of the projects in your solution before they can be built. If a project inside your solution has a reference to another project outside of th…

  3. NCrunch 4 - Instrumentation Mode - Optimized - "The name [x] does not exist in the current context"

    Hi Matt, Thanks for sharing this problem. I'm fairly certain this is caused by something funky in the debug information that exists because of the async method block. Are you working with a portable PDB, or a Win32 one? Does switching between them make any difference? Are you able to pr…

  4. NCrunch 4 - Instrumentation Mode - Optimized - System.IO.IOException

    Thanks for confirming this. Does the issue appear with consistency? This one has me quite confused as the point of code throwing the error actually doesn't have anything to do with the new optimised mode at all. It must somehow be causing the issue indirectly. Is there any chance you can isola…

  5. NCrunch 4 - Instrumentation Mode - Optimized - Project fails to build

    Thanks everyone for these stacktraces. I'm building a list of issues with the new optimised mode right now with a plan to work through these early in the coming week. If you experience any other exceptions that aren't shown here, please do share them so we can get them fixed quickly. I'll let y…

  6. Link issue when solution contains C++ projects

    Hi, thanks for sharing this issue. C++ isn't a supported language for NCrunch. We've done no real testing on usage of NCrunch with C++ based assemblies and cannot warrant that the product will work correctly with it. Any success with you have with it is entirely incidental. Does [url=https:/…

  7. NCrunch 4 - optimized instrumentation - BadImageFormatException for x64 for F# project

    Hi, thanks for sharing this issue. As expected, we've had a bit of a wave of these sort of issues with the new optimised mode. I'll take a look at this one as soon as I can and will get back to you :)

  8. NCrunch 4 - Instrumentation Mode - Optimized - System.IO.IOException

    Hi, thanks for sharing this issue. Can you confirm whether this issue also appears when you use the legacy instrumentation mode? The problem looks like it is appearing long before the assembly is actually built (or instrumented).

  9. NCrunch 4 - Instrumentation Mode - Optimized - Project fails to build

    Thanks for sharing this problem. Would you be interested in trying the build below and confirming whether this solves the issue? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.0.0.3.msi]NCrunch_Console_4.0.0.3.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/…

  10. Microsoft.AspNetCore.TestHost.TestServer returns 404

    [quote=ramioh;14008] About the sample solution, this will require some time to remove the business context out of the code. I hope I can do it tomorrow. [/quote] Thanks! It looks as though I will need a sample to give further advice on how to resolve this problem. Sorry, I know it's a big ask…

  11. Microsoft.AspNetCore.TestHost.TestServer returns 404

    Hi, thanks for posting! Can you confirm that you're running the latest version of NCrunch? Also, can you check whether [url=https://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mode[/url] makes any difference for you? Are you able to create a sample solutio…

  12. Functionality breaking down since license expired?

    Hi, thanks for posting. There is no connection between license expiry and degradation of features within NCrunch. The licensing system is kept separate from the rest of the product. However, it is reasonable to expect problems to appear if you upgrade your version of Visual Studio without usi…

  13. Timeout transferring files

    NCrunch's handling of files on the grid node side is such that once a client connects to the grid node, it is allocated a single 'snapshot' on the node to contain its representation of the solution it's using. When this happens, the grid node will choose the best matching snapshot for the client th…

  14. Does NCrunch support Probing paths?

    Hi, thanks for posting! This particular feature isn't supported by NCrunch, as it completely breaks the referencing system we use to short-circuit the builds, which allows them to complete in a fraction of their normal time. Sorry, other than restructuring your referencing, I can't think of an…

  15. NCrunch Enabled but failing to start on VS 2019

    I'm glad to hear you managed to solve this. We tend to be targeted a bit unfairly by false positives on scanners, probably because we build runtime environments and instrument assemblies. Failures like this can be a bit problematic because they're so hard to troubleshoot. Nice work on figuring …

  16. xunit.runner.utility v2.2.0 "Unable to restore required Nuget packages..."

    [quote=GreenMoose;13985] Is NCrunch reporting this as TeamCity error via service messages? If so, why since it isn't an error? (Project is using NUnit, not xunit). [/quote] Internally within NCrunch, this is reported as an error. Because technically, it IS an error ... It's just that in the co…

  17. NCrunch Enabled but failing to start on VS 2019

    Hi, thanks for sharing this problem. Given the unmanaged exception and the manner in which the engine process is disappearing, this looks to be either caused by interference with the .EXE (i.e. by virus scanner), or a deeper issue with the .NET platform or the state of your OS/Machine. Do you …

  18. NCrunch marking excluded code as not covered.

    Hi Steve, thanks for sharing this issue. This is a known limitation caused by the way the compiler generates code. The line not being considered by ExcludeFromCodeCoverage is a lambda expression that is physically compiled to a different method. Because the method is separate, it does not have …

  19. Test project build fails on multi targeted project with different version of the same package

    Thanks for the sample project, and sorry about the problem with the contact form. I can confirm that this sample reproduces the problem consistently on my end. I'll let you know as soon as I'm able to arrange a fix.

  20. Test project build fails on multi targeted project with different version of the same package

    Hi, thanks for sharing this issue. I appreciate the detail you've provided here. Is there any chance you can build us a small sample solution that reproduces this issue? If we can get this to fail in our environment in exactly the same way it fails in yours, I'm hopeful that we should be able t…