Forum member

Dirk Maegh

60 posts

Posts by Dirk Maegh

  1. NCrunch fails to build (and then test)

    Hi, I just opened this repo https://github.com/andrewlock/NetEscapades.EnumGenerators/ And then the solution NetEscapades.EnumGenerators.sln. Building runs fine in VS2022 (latest version, Windows 11) I do not have all .Net frameworks installed, and am only interested in .Net 6 and 7, and Net…

  2. NCrunch cannot seem to build the unittest project

    Seems to work fine now. Thx!

  3. NCrunch cannot seem to build the unittest project

    The full error is: NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/documentation/troubleshooting_project-build-issues NCrunch: This project was built on server '(local)' ServiceBuilderGeneratorTests.cs (15, 52): The type or namespa…

  4. NCrunch cannot seem to build the unittest project

    Hi, I have a project that references a source generator project. I would like to unittest the source generator. But the unittest project fails to build in NCrunch. Am I missing something ? The project reference is the following <ItemGroup> <ProjectReference Include="..\OpenAp…

  5. NCrunch Grid Node cannot connect

    Hi again, adding a cable and playing with it (wired, wireless, wired again, etc...) actually solved things for me. Ping still does not work (I have no idea why) but Grid Node is connected and working now. (on same port 41141 as before) Thx for your suggestions. They helped me in trying and …

  6. NCrunch Grid Node cannot connect

    Just checking - the actual intended listening address - that would the ncrunch in VS2022 on my desktop ? When I mentioned that they are on the same network, I actually meant they are "connected" to the same router, one of them (Grid Node laptop) wireless, one of them (VS2022 desktop) wired. But …

  7. NCrunch Grid Node cannot connect

    Hi, yesterday I re-installed a laptop from scratch, so a plain Windows 10 with a few automatic updates. (no programs installed, no personal tweaks, just a wifi connection) Then I installed NCrunch Grid Node on it. My desktop has Windows 11, VS2022 and NCrunch, all at their latest versions, la…

  8. grpc

    Hi Remco, indeed that fixed it. Thx for your swift solution, Dirk

  9. grpc

    Hi, a few days ago I started experimenting with grpc. I have followed a tutorial online, and decided to play with it. I have setup a project to compile my proto file, and it contains server and client code. To make things as simple as possible, I have *only* added this single proto file, an…

  10. IXunitSerializable and serializable

    Thanks, this helps. I was too focused when implementing the suggested equality members, that I even forgot the ToString override, hence my failure. I guess other test frameworks (where this works out of the box) generate an automatic ToString implementation to represent the test cases, even with…

  11. IXunitSerializable and serializable

    Hello again, I am paying for your product, and am happy to use it. I am advertising your product to all my colleagues and coworkers, showing them what it can do and how they can take advantage of it, how they can profit from it during their jobs. I think I have taken ample time to post a bug …

  12. IXunitSerializable and serializable

    Okay, thanks for the explanation. I can live with that :) It does not explain though why NCrunch sees only one test case ?

  13. IXunitSerializable and serializable

    Hi, I have a problem with the following test code. It is a single test class, which depends on some testcases. It builds fine, and runs fine. Except for test case nr. 2, which should fail. The problems in NCrunch are the following: * if I remove the Serializable attribute(s), NCrunch compl…

  14. Solution with many projects - filter the tests on project name

    Hi, in a solution with dozens of projects, I have a lot of projects that contain integration tests and other ones that contain mere unit tests. Would there be a way that you could have a feature having a test filter (other than the manual pinning and ignoring projects and/or tests) that inclu…

  15. NCrunch test fails to find an output file from a reference project

    Thanks for your answer. It indeed fixed it straight away, simple and un-painfully ;) Problem that I think is submerging here, is this feature is not obvious. I know it now, but in three months time, I will have forgotten about it, and the same question will rise again somewhere else. But a que…

  16. NCrunch test fails to find an output file from a reference project

    Hi, Today I ran into a unittest that ncrunch reported as failed on my machine. I did not touch it and inspected the test runs in the cloud pipelines - they also did not fail. So I investigated further, and ran the same test in Resharper unit test runner, it ran fine. I investigated furthe…

  17. SourceGenerator

    Hi, I am working on a source generator now. Is there a way to get NCrunch to work on this one please ? https://github.com/dotnet/roslyn-sdk/tree/0abb5881b483493b198315c83b4679b6a13a4545/samples/CSharp/SourceGenerators I made a copy of these projects, upgraded to dotnet5 and made that work.…

  18. HotChocolate repo - Stictching solution - NCrunch keeps busy

    Hey, thanks for your excellent answer ! It fixed loading the solution and running its tests definitely. It felt awkward however pasting the same build property to every project manually, given the number of projects. I had to "paste" two values every time, so I decided to paste in the build pro…

  19. HotChocolate repo - Stictching solution - NCrunch keeps busy

    Hi, I started at a new ciient yesterday and they recommended me to take a look at the unittests of hotchocolate, in particular the stictching ones. I loaded the solution, and looked at some unittests. When I wanted to run them with ncrunch however, ncrunch kept getting busy, like it was tryin…

  20. DispatcherScheduler.Current

    Hi, As far as the debugger message “source code has changed”. - I have had the same situation. But at that time I had that new setting configured for NCrunch instrumentation. When I switched back to legacy, the debugger messages disappeared. So I stick to legacy for now ;) Haven’t tried it …