I am running a custom EntityFrameworkCore version which has some added functionality which I require. Since Thursday 2019/07/25 I am getting MissingMethodException on 3 of my 4 app service plans: dev, stage and production. The test, stage, and production environment are in sync and contain the same exact code. It is therefore very odd that the test environment still works. I also have integration tests set up in the Azure Devops pipeline. The pipeline performs the following tasks: use dotnet, dotnet restore, dotnet build, dotnet test, dotnet publish. And all tests succeed. It is only on the app service that the same requests do not function.
- No publish was done to the test, stage, and production environment since 2019/06/28.
- The test environment has the same code as the stage, and production environment and functions properly.
- Only as recent as 2019/07/25 it stopped working on dev, stage, and production. Before that: everything fine.
- The end-to-end integration tests all succeed on the on-premise build server using the Azure Devops pipeline.
- It's cliché but, it works locally.
This is very scary that something which functions properly for a month suddenly overnight stops functioning entirely. Without any change in code.
I read that the MissingMethodException points to a DLL problem (System.MissingMethodException: Method not found?). The MissingMethodException occurs in the custom code so a DLL problem seems logical, but I cannot figure out why then does everything still work on the test environment and why did it work before! How can I properly diagnose this?
- netcoreapp2.2
- .NET SDK 2.2.105
- Microsoft.AspNetCore.App 2.2.0 (implicit)
- Microsoft.AspNetCore.Mvc 2.2.0
- Custom EntityFrameworkCore based on EntityFrameworkCore-release-2.2 branch