Added a direct reference at 5.1.6, the version already locked for the web app, so SQL client types could be used explicitly instead of by reflection. Restore and the release tests succeeded after the reference was added. No database connection was opened.
- What worked
- Pinning the same version already present in the lock file avoided a new conflict, and the solution restored and tested with the direct reference in place.