Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
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.…
12 Nov 2019 00:59 UTC
-
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…
12 Nov 2019 00:08 UTC
-
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…
11 Nov 2019 03:27 UTC
-
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…
09 Nov 2019 22:23 UTC
-
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…
08 Nov 2019 22:55 UTC
-
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:/…
08 Nov 2019 22:48 UTC
-
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 :)
08 Nov 2019 22:46 UTC
-
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).
08 Nov 2019 11:51 UTC
-
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/…
08 Nov 2019 00:43 UTC
-
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…
05 Nov 2019 11:10 UTC
-
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…
04 Nov 2019 19:07 UTC
-
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…
31 Oct 2019 22:36 UTC
-
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…
31 Oct 2019 11:52 UTC
-
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…
31 Oct 2019 00:13 UTC
-
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 …
30 Oct 2019 10:51 UTC
-
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…
29 Oct 2019 22:21 UTC
-
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 …
29 Oct 2019 22:11 UTC
-
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 …
28 Oct 2019 11:51 UTC
-
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.
24 Oct 2019 08:10 UTC
-
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…
24 Oct 2019 00:35 UTC