During a month long refactor session on the Skyhop back-end I had upgraded all of my dependencies to their latest versions. Later during this process I discovered there was a dependency incompatibility between EF Core 5 and SqlKata. I weighted my options, and decided it would be easier to revert back to EF Core 3, than to solve this dependency compatibility issue in another way.
The process to do so had been surprisingly pleasant due to the following factors;
Directory.Build.targetsfor dependency version management.
It would be important to note that I was unable to roll back to a previous version due to changes to the API’s between EF Core 3.x and 5.x, resulting in errors in some migrations, as well as errors in the model snapshot. As such, the process to do so;
Directory.Build.targetsback to the latest available version. (This would be a pain to do without)
Despite having upgraded to .NET Core 5, it seems like EF Core 3, still works together nicely with this setup. For now I’ll be waiting until this dependency issue is resolved before I try to upgrade once again.
👉 Do you like what I'm writing? Sign up to receive new content straight into your mailbox!