Forum member

garyp01

8 posts

Posts by garyp01

  1. ImmutableHashSet static field causes 'Value does not fall within the expected range' exception.

    Looks good for me too. I'll report back if it crops up again. Thanks so much!

  2. "Sequence contains no matching element" exception in Visual Studio Preview

    That did the trick - thank you! I look forward to the permanent fix.

  3. "Sequence contains no matching element" exception in Visual Studio Preview

    Thanks for the prompt reply. Querying 'dotnet sdk check' advises that I only have the 9.0.300-preview.0.25177.5 SDK installed, along with several runtime versions. Setting the 'Build SDK' setting to '9.0.300-preview.0.25177.5' or any other setting, such as 'VS2022', causes NCrunch to re-initia…

  4. "Sequence contains no matching element" exception in Visual Studio Preview

    With Visual Studio Preview (current version: 17.14.0 Preview 6.0) and NCrunch 5.14.0.5, all projects show this error in NCrunch: [quote] System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate) …

  5. ImmutableHashSet static field causes 'Value does not fall within the expected range' exception.

    For me, the problem doesn't occur with v5.14.0.3 with the example project I provided (https://github.com/garypendlebury/NCrunchFault), but it did still initially occur in my real-world project, with the same error as before (detailed in the first post). However, I've been working with the project fo…

  6. ImmutableHashSet static field causes 'Value does not fall within the expected range' exception.

    Thanks for following this up so quickly. The problem has been affecting me for a few months through different versions of NCrunch. I've only just got round to reporting it. 😅 It's been strangely intermittent. Sometimes I'll be in the affected project for a few hours and not see the error, the…

  7. ImmutableHashSet static field causes 'Value does not fall within the expected range' exception.

    If I have a static ImmutableHashSet field, such as: [quote]private static readonly ImmutableHashSet<DayOfWeek> Days = [DayOfWeek.Wednesday, DayOfWeek.Thursday]; [/quote] This can cause the exception: [quote]System.ArgumentException: Value does not fall within the expected range. at Sys…

  8. ARM64

    Just to add weight to this request, my next work laptop was also going to be an ARM64-based Surface laptop. Every piece of software I checked either worked natively, or would be supported by emulation, except NCrunch. I love NCrunch and would struggle to work efficiently without it, so have requeste…