Hi, my name is Corstian, and this is my blog where I get to publish my writings on topics such as psychology, philosophy, software development and any other thing I deem worthy to write about.
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.targets
for 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.targets
back 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!