For some reasons, I am unable to run any tests when using Microsoft.AspNetCore.TestHost
package. Here's the exception thrown:
System.MissingMethodException : Method not found: 'System.Net.Http.HttpClient Microsoft.AspNetCore.TestHost.TestServer.CreateClient()'.
Any idea?
I had to put this in my project csproj.