Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1807

Missing dependency on System.Runtime.InteropServices.RuntimeInformation

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4
    • Affects Version/s: 2.4.0-beta1
    • Component/s: Connectivity
    • Labels:
      None

      The Nuget packages for 2.4.0-beta1 are missing a required dependency on the System.Runtime.InteropServices.RuntimeInformation Nuget package.

      The symptom is the following exception when attempting to communicate with MongoDB:

      An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
      
      Additional information: Could not load file or assembly 'System.Runtime.InteropServices.RuntimeInformation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its 
      dependencies. The system cannot find the file specified.
      

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: