I have a small nuget package that interacts with a small DB with 2 tables. I have used it in 2 projects, 1 is dotnet 5 and the other is an old dotnet framework 4.6 therefore I have targeted netstandard2.0 and it worked fine so far.
I need to update all the packages in the dotnet 5 one to the latest, but ef core 5 needs dotnet standard 2.1. What is the best way to deal with it?
I thought about multi targeting, but first I don't know if it is a good idea or not and then I don't know how to say target dot net standard 2.1 with ef 5 and at the same time dotnet standard 2 with the ef 3.1.