Strong Naming Issue - Transitive Dependency

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.28.0
    • Component/s: None
    • None
    • None
    • Dotnet Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Strong Naming cause major compile time issues to all the projects that used the previous unsigned version of the driver.

       

      Consider the following scenario:

      • our project references on one or more libraries (open or closed source) that uses MongoDB.Driver (version 2.27.0 or earlier).

      We cannot update MongoDB.Driver to the newest version until ALL the libraries that uses mongodb update themselves to the new version.

       

      We get loads of compile time errors like:

       

      error CS0012: The type 'IMongoDatabase' is defined in an assembly that is not referenced. You must add a reference to assembly 'MongoDB.Driver, Version=2.26.0.0, Culture=neutral, PublicKeyToken=null'.
      

       

      Trying to setup any sort of assembly binding redirects didn't work at compile time.

       

      In short we are now forced to wait for all the libraries to align to the new version - hoping they do it in a short time, or we need to fork all of them and update the driver ourselves just to make it compile again.

       

      A better solution would have to provide two packages with two version of the driver: Signed and Unsigned.

            Assignee:
            Adelin Mbida Owona
            Reporter:
            Alessandro Giorgetti
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: