Visual Studio 2019. c#.Existing unit test after some changes started to be failed with error message
System.InvalidOperationException: No service for type 'Microsoft.Extensions.Http.DefaultHttpClientFactory' has been registered.
Interesting thing is that no direct changes were introduced to the tested code.A few packages updated and that's it.