Allow any OS in OperatingSystemHelper

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Unknown
    • 3.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Dotnet Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      When running on MACCATALYST, the dotnet runtime returns false for RuntimeInformation.IsOSPlatform(OSPlatform.OSX) 

      resulting in MongoDriver throwing an Exception when calling .GetCollection. 

      (in: OperatingSystemHelper.cs:line53)

      Proposed solution:

       else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX) }}{{|| RuntimeInformation.IsOSPlatform(OSPlatform.Create("MACCATALYST"))
       

            Assignee:
            Boris Dogadov
            Reporter:
            glascake N/A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: