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

Missing dependency on System.Runtime.InteropServices.RuntimeInformation

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.4
    • 2.4.0-beta1
    • Connectivity
    • None

    Description

      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.
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: