Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0

    Hi David, If I were to guess, this looks to be the result of confusion in the test environment between the netstandard compile-time assembly and run-time assembly. Probably this is the result of another late-game change to the .NET Core toolset. Unfortunately I'm not sure how to produce this.…

  2. Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0

    I've prepared a build with a fix targeted to resolve this issue. Download links are below: [url=http://downloads.ncrunch.net/NCrunch_Console_3.11.0.4.msi]http://downloads.ncrunch.net/NCrunch_Console_3.11.0.4.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.11.0.4.zip]http://downloa…

  3. 3.10.0.20 nCrunch.TaskRunner40.x64.exe flagged as virus in AVG

    [quote=leadensky;10984]Hmm, similar problem with AVG has cropped up again. This time it's flagging nCrunch.BuildHost462.x86.exe but in the AppData\Local... folder (see screen shot). [img=https://www.screencast.com/t/c5T6BgVnQP]AVG threat detection[/img]. This folder location keeps changing (with eac…

  4. Console Tool TestFilter Issues

    [quote=chillitom;10985]It gets stranger! With TestsToExecuteAutomatically set to False the build never completes, the ncrunch.exe process runs indefinitely, I had one running for 400+ minutes. It seems to be stuck at/near the end of the build stage[/quote] Ok, so that's not the effect that I wa…

  5. Console Tool TestFilter Issues

    [quote=chillitom;10980] Can you think of anything else I could check? I'm sure it's something dumb but I can't figure out what.[/quote] Sorry, I appreciate that the handling of this by NCrunch is a bit of a black box at the moment, making it hard to troubleshoot. I've made a note to expand the…

  6. Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0

    Hi, thanks for sharing this problem. Handling of .NET Core/Standard 2.0 is hit and miss at the moment. The reason for this is because every time NCrunch gets updated to handle this framework, MS push out a new release and it all gets broken again. Although .NET Core 2.0 is now announced as 'RTM…

  7. Detecting Impacted tests

    [quote=Grendil;10977]My team is trying to understand the difference between "run automatically" and "run when impacted"? I've found hints in the docs, but as yet nothing clearly definitive. When would NCrunch see fit to run a test "automatically" different than when it was "impacted"? We'd like t…

  8. Ncrunch Tool Issue with .net Core 2.0

    The NCrunch console tool doesn't differentiate between VS2017 and VS2017 preview - it considers VS2017 to be VS2017 and is probably just using the first version of VS2017 that it can locate. This might be the reason for the inconsistency. There is a way to override this. Prior to running the co…

  9. Issues building project, possibly related to SRP

    [quote=Axima;10973] This looks like the source of the problem. I can add a SRP path rule in for [b]C:\Users\{username}\AppData\Local\NCrunch\BuildSystem\*\VS2017\*.exe[/b], however is this what is normally recommended? Did something change between the VS 2013 and VS 2017 extensions that causes th…

  10. Grid Server keeps disconnecting

    Try the build below. This contains a change to the handling of buffering around big messages. I still haven't been able to reproduce the disconnection issue, but maybe this will help. [url=http://downloads.ncrunch.net/NCrunch_Console_3.11.0.3.msi]http://downloads.ncrunch.net/NCrunch_Console_3.1…

  11. Console Tool TestFilter Issues

    [quote=chillitom;10968]I spoke too soon, this got the correct tests running when I run locally, but as soon as I run this on our CI build server the engine mode is completely ignored and it tries to run all tests. The log output suggests the right engine mode is being selected. Is there any way I …

  12. Grid Server keeps disconnecting

    I'm working on a theory at the moment that perhaps the size of the message is blowing the socket buffer. 3MB is unusually large for a build result message, probably this is quite a big project. Turning off instrumentation for this project might even work around the problem. There may be a code …

  13. Ncrunch Tool Issue with .net Core 2.0

    [quote=sunil;10963]Yes the solution builds fine jin VS using Ncrunch. Sorry for being ambiguous about this one.[/quote] No problem. Thanks for confirming. I agree this is possibly NCrunch not using the correct version of VS. The only reason I could think of why it might do this is if it …

  14. Grid Server keeps disconnecting

    [quote=MatthewSteeples;10961] Same problem on 3.11.0.2, although I've got a few more log messages and a potential query. You can see at 22:55:22.5025 that it tries sending a 3mb message, and then at 22:55:22.5055 (0.003 seconds later) it tries sending another message. Could it be that the socket is…

  15. C++/CLI project won't build under NCrunch

    Hi, thanks for posting. C++/CLI isn't supported by NCrunch. This project type has a different build system that NCrunch hasn't been specifically programmed to handle. Although many C++/CLI projects will likely build using NCrunch, it's unfortunately impossible to warrant that all of them wil…

  16. Ncrunch Tool Issue with .net Core 2.0

    [quote=sunil;10954]Yes the solution builds fine when I run inside of VS. But fails when I run it using the ncrunch tool.[/quote] But does the solution build when using NCrunch inside VS? If you have NCrunch installed in your VS system, and you enable it, do you see build errors in the NCrunch Te…

  17. Grid Server keeps disconnecting

    [quote=MatthewSteeples;10955]Is there anything we can do to send any more debug information through? This is becoming quite an issue for us now, and we're going to have to investigate rolling back if we can't get it resolved soon :([/quote] It may be worth giving the build below a try: [url=ht…

  18. Console Tool TestFilter Issues

    Hi, thanks for posting. Is it your intention to prevent the console tool from executing any tests that are in the specified categories across a grid? If so, try using the 'TestsToExecuteAutomatically' setting instead. 'TestFilter' only applies to the local machine, so if you're using grid nod…

  19. Installing NCrunch in VS 2017 Preview 3

    Hi, This is a limitation of the MSI installer. MSIs just don't work with multiple installations of VS. It's possible to get NCrunch installed on the second instance by [url=http://www.ncrunch.net/documentation/manual-installation-instructions]installing it manually[/url]. Eventually there wi…

  20. Ncrunch Tool Issue with .net Core 2.0

    [quote=sunil;10947]Yes. The solution works fine running in VS2017. Here are my VS2017 details Microsoft Visual Studio Professional 2017 Preview (2) Version 15.3.0 Preview 7.0 VisualStudio.15.Preview/15.3.0-pre.7.0+26730.0 Microsoft .NET Framework Version 4.6.01586 [/quote] Sorry, I need to…