Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. There is a circular dependency in the target dependency graph involving target "ReBuild"

    Hi Alberto, Thanks for sending through the sample solution. The problem you're experiencing here seems to relate to a strange modification that has been made to these project files. At the top of the file, the project has been set to use a default target of 'Rebuild'. This seems to cause som…

  2. Not abled to run Test ASP.NET TestHost.TestServer on GridNode

    Here's a build with a fix: [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_3.24.0.1.msi]NCrunch_Console_3.24.0.1.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_3.24.0.1.zip]NCrunch_Console_3.24.0.1.zip[/url] [url=https://s3.amazonaws.com/downlo…

  3. Not abled to run Test ASP.NET TestHost.TestServer on GridNode

    Good catch! Thanks for sharing this. It looks like we didn't test the ASP.NET TestHost properly using distributed processing. I have a fix pending, but our build system is dealing with the VS2019 chaos at the moment, so it might be a few days before I'm able to get it published for you.

  4. dotnet.exe hosted by nCrunch.EngineHost462.x64.exe using 25% CPU doing nothing

    [quote=slafave;13077]Found it and you were right, not an NCrunch issue. Not even a DotNetCore issue. An ancient class buried deep in a series of mocks had a timer that activated a while loop that spun over an empty array to simulate polling a queue. :-( Thanks for the help, sorry to bother you …

  5. "Impacted test" ignoring coverage filter?

    This is intentional. The coverage filter is just a UI-based filter that blocks out coverage data from all other tests. It doesn't affect the internal behaviour of the engine. It's possible to set up your own engine mode that has a coverage filter along with an execution filter, so you can easil…

  6. dotnet.exe hosted by nCrunch.EngineHost462.x64.exe using 25% CPU doing nothing

    Thanks for these extra details. Just to confirm, the only process pulling CPU here is dotnet.exe right? If so, this actually isn't an issue with the NCrunch engine. dotnet.exe is a bootstrap process used by .NET Core to start the process that hosts user code. Neither NCrunch nor yourself will …

  7. Recomendations for working with local db/sqlserver

    Hi, thanks for sharing this problem. v3.23 didn't introduce any changes to the concurrency or pipeline behaviour, so the problem is unlikely to be caused by anything directly changed in this version. However, v3.23 DID change the cache file version, which means that NCrunch might have started …

  8. There is a circular dependency in the target dependency graph involving target "ReBuild"

    Hi Alberto, I'm sorry to hear that. To analyse this further, I'll need to get a sample solution that can produce it so that I can trace through the build logic in detail. I've never seen this problem before and I'm not sure why your solution is different. If you're able to isolate the problem …

  9. There is a circular dependency in the target dependency graph involving target "ReBuild"

    Hi Alberto, It should normally be totally OK for you to work in Release mode and in any combination of platforms, thought there is a good chance that these settings are resulting in the problem you're experiencing, as NCrunch will use the project defaults for the build configuration/platform rath…

  10. How to copy test files to NCrunh folder

    When tests are run with a debugger attached, NCrunch won't record code coverage for the run and will instead use coverage from the previous run. This is because the debugger interferes with normal execution data, so we only capture the trace output and exceptions instead. This might explain some o…

  11. dotnet.exe hosted by nCrunch.EngineHost462.x64.exe using 25% CPU doing nothing

    Thanks for the dump. Would it be possible for you to send through a 'Bug report' when the engine is 'Busying' itself? You'll need to do this when the engine has no work it's supposed to be doing, but is still chewing CPU. The bug report contains a log that should be very revealing.

  12. How to copy test files to NCrunh folder

    Are you able to reproduce this issue in a sample solution? If you have a small test solution where NCrunch is working, it might be possible to progressively transfer code/structure/configuration between this test solution and your main solution until you can find the cause. If you can share a samp…

  13. There is a circular dependency in the target dependency graph involving target "ReBuild"

    Hi Alberto, Thanks for sharing this problem. This is a new one for me. Does this particular project have any custom build targets or post/pre build events configured? Something to check is whether the platform configurations you have in the project file are lining up with the project defau…

  14. dotnet.exe hosted by nCrunch.EngineHost462.x64.exe using 25% CPU doing nothing

    [quote=slafave;13051]I have a solution with 158 tests. They are all passing, they all execute in milliseconds. In the past week I noticed that NCrunch Engine was consuming 25% of my CPU time, even when I'm not doing anything in VS. NCrunch has nothing queued for execution, I'm not actively de…

  15. False positive test results with .NET Core

    Thanks for these extra details. This could be something wrong in Xunit or in our interpretation of its results ... I hope Xunit isn't trying to run these tests asynchronously. Do you have any [dead link] that might encourage to run things in parallel? If not, is there any chance you could produ…

  16. How to copy test files to NCrunh folder

    Can you check if you have the 'Instrument output assembly' setting disabled at any level in your configuration?

  17. How to copy test files to NCrunh folder

    Does this documentation page help at all? [url=https://www.ncrunch.net/documentation/troubleshooting_missing-code-coverage]https://www.ncrunch.net/documentation/troubleshooting_missing-code-coverage[/url]. Has the engine given you any warnings about lost references or other problems?

  18. How to copy test files to NCrunh folder

    Sorry, this gets more complicated then. This is now a project accessing resources from another project's workspace. This documentation page explains the problem in detail. It's a bit harder to fix sadly: [url=https://www.ncrunch.net/documentation/considerations-and-constraints_assembly-colocati…

  19. How to copy test files to NCrunh folder

    Hi, thanks for sharing this issue. This should be an easy one to fix. The files need to be flagged up so that NCrunch knows to copy them. See here for more information: [url=https://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies]https://www.ncrunch.net…

  20. Navigate to tets displaying coverage when lost in code?

    This isn't very obvious, but one thing you can do is open up the Metrics Window and look for files with code coverage in them. The Metrics Window should be filtered by this feature in the same way as the code windows. If you're encountering this situation often, it might be worth using an engine…