Forum member

erwinvandervalk

16 posts

Posts by erwinvandervalk

  1. .net 10 + xunit 3 + visual studio insiders fails with .net 3.5 error

    Hi, I'm using ncrunch with .net 10 and visual studio insiders. (not sure if this is already supported). I get the following error: WARNING - NCrunch: This project has been built with MSBuild for VS2026 because MSBuild for VS2022 was not found on this server. Some build tasks may fail wh…

  2. Slow performance on writing testoutput using XUnit V3 and ITestOutputHelper

    However if other people are also running into this, this is my workaround for now: #if NCRUNCH Console.WriteLine(message); #else _writeOutput?.Invoke(message); #endif

  3. Slow performance on writing testoutput using XUnit V3 and ITestOutputHelper

    Hi Remco, thank you for your quick reply. I did raise the issue with the XUnit team: https://github.com/xunit/xunit/issues/3218. However, I'd like to push back against this being a 'niche' issue. I usually write my tests in a integration test style, where I spin up an in-memory representation…

  4. Slow performance on writing testoutput using XUnit V3 and ITestOutputHelper

    Hi, I ran into a weird situation today with one of our FOSS solutions. I added log writing and it caused a very noticeable delay. Even a test like this takes in ncrunch 2+ seconds to run (but only in this solution). If I add this test to an empty solution (or to any other solutions), there's …

  5. Xunit.v3 analysis failure

    I don't understand why it kept reporting I had 5.11 installed, because I'm certain I installed 5.12. But this 5.12.0.7 release seems to fix it.

  6. Solution Filter

    Just out of curiosity, While I understand that you cannot limit what you load (and or build) when you have slnf files open, wouldn't it be possible to at hide projects not in the filter and not to (automatically) run tests that are not in the filter?

  7. Xunit.v3 analysis failure

    I'm also experiencing these issues with XUnit V3. I've tried the builds here but unfortunately they don't solve the issue. It's the same error as other people mention above: "Unable to resolve an assembly required for the execution of Xunit3 on this machine. The assembly was expected at the f…

  8. Aspire

    @GlobalConcepts, yes, you can find my aspire project here: https://github.com/DuendeSoftware/products/tree/main/bff/samples/Hosts.AppHost The tests for that are here: https://github.com/DuendeSoftware/products/tree/main/bff/samples/Hosts.Tests It's still a work in progress and part of the…

  9. Aspire

    Thanks Remco, it makes sense. But it was worth a shot. I have a workflow that works reasonably well. I'll do my best to write up a blog post on this in the near future.

  10. Aspire

    I've created an issue in the Aspire repo for this purpose. https://github.com/dotnet/aspire/issues/7156 Maybe they can do something to make this work <fingers></crossed>

  11. Unable to build apps with "older" Windows SDK

    I found the issue and it was a weird one. Somehow, after re-installing my machine and re-installing visual studio etc.. I did not have any nuget feeds. But.. compiling / running in visual studio 'just worked'. So, the error that it couldn't restore packages was correct. It's just weird that …

  12. Unable to build apps with "older" Windows SDK

    Here's the error I got. [quote] An error occurred while analysing this project after it was built: NCrunch encountered an unexpected error occurred while building an environment to analyse an assembly: The NCrunch task process failed to correctly initialise with the following exception: nCrunch.T…

  13. Unable to build apps with "older" Windows SDK

    I'm also running into this error, but for me the new version isn't solving it. For what it's worth.. I did a completely fresh install of windows 11, installed visual studio, installed .net 8 sdk, installed latest version of ncrunch (and later also the version in this post) and then create a bran…

  14. Notsupportedexception when building a project with source generators

    Yes, that fixes it

  15. Notsupportedexception when building a project with source generators

    Hi Remco, Thanks for looking into this. Looking forward to the next update then. With kind regards, Erwin Ps, thanks for creating such a nice tool!

  16. Notsupportedexception when building a project with source generators

    Hi, I'm getting an exception when I build a project that uses source generators. Is there a workaround for this that might help us? Here's the exception that we're getting. NCrunch has encountered an internal error: System.Exception: nCrunch.Compiler.StaticManipulation.CilTypeHashExcepti…