C#C
C#3y ago
Nauvran

❔ iHttpClientFactory in net 461

Having some issues building my project in a Azure DevOps pipeline after I tried to use ihttpclientfactory to deal with socket exhaustion and so on

Getting this lovely message and I can't figure out how to handle it
Package Microsoft.Extensions.Http 3.1.32 is not compatible with net461 (.NETFramework, Version=v4.6.1). Package Microsoft.Extensions. Http 3.1.32 supports:

  • netcoreapp3.1 (.NETCoreApp, Version=v3.1) netstandard2.0 (.NETStandard, Version=v2.0)
One or more packages are incompatible with .NETFramework, Version=v4.6.1.)
Was this page helpful?