There's no good way to handle this currently, but I'd caution bumping Microsoft dependencies to version 5.0.0 yet. I had this problem with some of our enterprise projects. We have an azure function app, and the functions sdk doesn't yet support any of the 5.0.0 dependencies, even if only targeting .net standard 2 / .net 3.1. There are open github issues you can find regarding this. If any of our function dependencies try to use the v5 packages, the app fails to initialize. The only solution is to stay at v3.1.10.
With the fixes you've released I'd like to give cachetower another go, but the v5 deps are a non-starter. I understand MS has created this problem, so do what is best for your library, they'll have to support v5 eventually.
There's no good way to handle this currently, but I'd caution bumping Microsoft dependencies to version 5.0.0 yet. I had this problem with some of our enterprise projects. We have an azure function app, and the functions sdk doesn't yet support any of the 5.0.0 dependencies, even if only targeting .net standard 2 / .net 3.1. There are open github issues you can find regarding this. If any of our function dependencies try to use the v5 packages, the app fails to initialize. The only solution is to stay at v3.1.10.
With the fixes you've released I'd like to give cachetower another go, but the v5 deps are a non-starter. I understand MS has created this problem, so do what is best for your library, they'll have to support v5 eventually.