System.IO.FileNotFoundException : Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
I am getting above error when running the tests in azure devops pipeline but not when running it local. Everything works locally fine.
I believe the error happens when the base class try to initialize DB Context using EF Core 5 at line 15.
Code stack:
Azure function isolated enabled .Net 5
EF Core 5
Can someone please help me understand why this is happening? Below is the screenshot of the packages referenced in the test project.


