Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working

    Thanks for sharing this. Can you confirm whether you've tried regenerating the derived files used by Fakes to see if this solves the issue? Often a big platform release can put them out of sync, giving obscure errors.

  2. ncrunch chooses incorrect target with multi-targetted project reference

    Thanks Richard. Our multi-framework resolver probably needs adjustment here. I appreciate the code sample. We'll take a look :)

  3. Problem running tests in x64

    Be sure to check the [url=https://www.ncrunch.net/documentation/overview]documentation[/url] for each of these options to have an understanding of what they do. In this situation, the best way to fix the problem isn't actually with NCrunch configuration. If one of your projects can only run with…

  4. The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized

    [quote=Magbr;15050] Oh yes, that makes sense. Some tests use auto generated data. Is it possible to disable this behavior?[/quote] You can ignore the tests using the [url=https://www.ncrunch.net/documentation/concepts_ignored-tests]Ignored Tests[/url] option. However, it isn't possible for NCru…

  5. NCrunch console crash: NullReferenceException at ModelCodeMember.get_FilePath

    I suspect this is related to the structure of the project. My best guess here is that there might be a build error that is being reported to a file that isn't a source file, or something similar. The code that is exploding here is specific to code navigation inside the IDE. There isn't really a…

  6. The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized

    [quote=Magbr;15050] it's fine that it expands to show new tests, but it also expands projects where there are no new tests. Which is quite tedious to close every time we edit an InlineAttribute. Which is quite often during parameterized integration testing..[/quote] Are you making use of any ran…

  7. Project using PostSharp builds in Visual Studio but not in NCrunch.

    Hi, Thanks for sharing this issue. It looks to me like Postsharp are including a non-file string in the PDB symbol data. We haven't seen this before, but its probably legal as otherwise the runtime would throw it out. Hopefully this will be a simple fix on our side. We'll let you know as …

  8. Save all .cs files when debugging test with NCrunch

    [quote=DeltaEngine;15019]Same here, just doing this quickly in a fresh VS without plugins, it doesn't happen. Only when writing for a longer time (might be hours of changes, sometimes after a few minutes) the debugger stops working once a breakpoint hits (you can't continue as VS says the source cha…

  9. Problem with dotnet 5

    Thanks for sharing this issue. We've just identified a problem where the usage of the new property initialisers is causing the complier to emit an IL sequence that we aren't handling right with our instrumentation. We're working on a way to fix this now and hope to have it included soon in the n…

  10. The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized

    [quote=Magbr;15043] However this one is so annoying. I've noticed an additional thing. If I change the test code everything is fine. But if I change some param in an InlineData attribute that's when it happens. Have to scroll and close a lot of things down usually. Thanks![/quote] This one is b…

  11. Metrics Not Being Computed

    Hi, thanks for sharing this issue. A few questions to try and figure out what is going on: - On the projects missing metrics, do you still have coverage markers? - If so, are the coverage markers aligned with the metrics being aggregated? - Does the metrics window still show the correct number…

  12. Save all .cs files when debugging test with NCrunch

    Hi, thanks for sharing this. On a stock standard VS2019 installation with no plugins other than NCrunch installed, I cannot reproduce this behaviour. For example, if I change a source file, let NCrunch build it and run tests over it without saving, then try to break into a line by right clicking…

  13. Can't build any .Net Core 3 apps - "The targeting pack Microsoft.NETCore.App is not installed"

    Hi, thanks for posting. Can you try reinstalling/repairing the x64 version of the .NET Core 3.1 SDK? It's possible that the installation has been corrupted somehow (we've had this ourselves before when updating VS).

  14. Analyse Assembly Failure

    Hi Phil, Thanks for sharing this problem. The error described here is one kicked up by the engine when the test process disappears without warning and with no information available. Usually this is an install state issue (i.e. something is wrong in the configuration of the machine or somethin…

  15. Is it possible to list tests in code order, in the test window

    Thanks, this makes sense. Could I interest you in adding this as a [dead link]? This will allow us to track it and implement it if it's popular enough.

  16. Test method must be public

    Thanks for the repro. It looks to me like the optimised test discovery is somehow passing the wrong test method downstream. I'll see if I can get this fixed. I recommend switching to the Legacy instrumentation mode as a workaround for this assembly for now.

  17. Is it possible to list tests in code order, in the test window

    Hi, thanks for posting. At the moment, it isn't possible to do this. Could you elaborate on why you'd like to do it?

  18. Using NCrunch, FxCop Analyzers and “warnings as errors”: How to configure warning severity?

    [quote=arthgg;15002][i]Repeat for all projects, then restart NCrunch engine. Now NCrunch builds.[/i] Is there a way to accomplish this more "globally" than adding the link to .editorconfig to every project? Thank you[/quote] Unfortunately not. I'll make a note to see if we can do this impl…

  19. Test run stops midway with "No data received... Forcing disconnection"

    Do you have the logs and exported reports from this this run? I'd really like to take a closer look at how these tests are being reported. My understanding is that they should be reported with a 'Not run' status rather than ignored. If you could zip up the reports and logs and send them through t…

  20. Test run stops midway with "No data received... Forcing disconnection"

    [quote=applieddev;14998] we have found that after restarting NCrunch server node, the issue doesnt reoccur for awhile is it possible for a long running NCrunch server node to run out of memory after many test runs?[/quote] The core node server is designed with the intention to run long term wit…