|
4 | 4 | Upgrade Driver Versions
|
5 | 5 | =======================
|
6 | 6 |
|
| 7 | +.. facet:: |
| 8 | + :name: genre |
| 9 | + :values: reference |
| 10 | + |
| 11 | +.. meta:: |
| 12 | + :keywords: update, breaking change, releases |
| 13 | + |
7 | 14 | .. contents:: On this page
|
8 | 15 | :local:
|
9 | 16 | :backlinks: none
|
@@ -50,6 +57,45 @@ changes between the current and upgrade versions. For example, if you
|
50 | 57 | are upgrading the driver from v2.0 to v2.20, address all breaking changes from
|
51 | 58 | the version after v2.0 including any listed under v2.20.
|
52 | 59 |
|
| 60 | +.. _csharp-breaking-changes-2.28.0: |
| 61 | + |
| 62 | +Version 2.28.0 Potential Breaking Change |
| 63 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 64 | + |
| 65 | +- All {+driver-short+} components are strongly named. If your application |
| 66 | + has dependencies that reference multiple {+driver-short+} versions, you must create |
| 67 | + binding redirects, as shown in the following example: |
| 68 | + |
| 69 | + .. code-block:: csharp |
| 70 | + |
| 71 | + <configuration> |
| 72 | + <runtime> |
| 73 | + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
| 74 | + <dependentAssembly> |
| 75 | + <assemblyIdentity name="MongoDB.Driver" |
| 76 | + publicKeyToken="94992a530f44e321" |
| 77 | + culture="neutral" /> |
| 78 | + <bindingRedirect oldVersion="2.28.0.0" |
| 79 | + newVersion="<version number to use>" /> |
| 80 | + </dependentAssembly> |
| 81 | + <dependentAssembly> |
| 82 | + <assemblyIdentity name="MongoDB.Bson" |
| 83 | + publicKeyToken="94992a530f44e321" |
| 84 | + culture="neutral" /> |
| 85 | + <bindingRedirect oldVersion="2.28.0.0" |
| 86 | + newVersion="<version number to use>" /> |
| 87 | + </dependentAssembly> |
| 88 | + <dependentAssembly> |
| 89 | + <assemblyIdentity name="MongoDB.Driver.Core" |
| 90 | + publicKeyToken="94992a530f44e321" |
| 91 | + culture="neutral" /> |
| 92 | + <bindingRedirect oldVersion="2.28.0.0" |
| 93 | + newVersion="<version number to use>" /> |
| 94 | + </dependentAssembly> |
| 95 | + </assemblyBinding> |
| 96 | + </runtime> |
| 97 | + </configuration> |
| 98 | + |
53 | 99 | .. _csharp-breaking-changes-2.21.0:
|
54 | 100 |
|
55 | 101 | Version 2.21.0 Breaking Changes
|
|
0 commit comments