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

Strong name issues

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Packaging
    • Labels:
      None
    • Environment:
      Windows using C#

      Hi,

       

      I started to use the MongoDB packages in a C# environment. I recently saw that the package is signed but the DLLs are still no signed or without strong name. With that, when you have a project that signs the DLLs, I can't use MongoDB at all (I call mongodb DLLs using reflection).

       

      Below the error:

      1>CSC : warning CS8002: Referenced assembly 'MongoDB.Driver, Version=2.12.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.
      1>CSC : warning CS8002: Referenced assembly 'MongoDB.Bson, Version=2.12.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.
      1>CSC : warning CS8002: Referenced assembly 'MongoDB.Driver.Core, Version=2.12.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.

       

      Do you have a plan to make the dll's strong named?

      If not, can you share somehow a way to just connect in a database using TcpClient?

       

      Thank you.

            Assignee:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Reporter:
            ednakamu@microsoft.com Eddy Nakamura
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: