Adding netcoreapp3.1 as a target framework (#509)

* Adding netcoreapp3.0 and netcoreapp3.1 as a target framework

* Expanding NETSTANDARD check to include ASP.NET Core targets

* End of life netcoreapp3.0 changes and using NETCOREAPP3_1 instead of USE_ASPNETCORE where possible
This commit is contained in:
Anthony Iacono
2020-09-30 12:11:32 -04:00
committed by GitHub
parent 2f5298b0a2
commit 942fc3a385
4 changed files with 11 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ namespace WireMock.Http
{
public static HttpClient CreateHttpClient(IProxyAndRecordSettings settings)
{
#if NETSTANDARD
#if NETSTANDARD || NETCOREAPP3_1
var handler = new HttpClientHandler
{
CheckCertificateRevocationList = false,