Why do you use .net core 2.2? It has reached end of life and is not supported anymore. Wouldn't it make sense to use a LTS version instead? https://dotnet.microsoft.com/download/dotnet-core