-
Correct me if this is the wrong place. But since Microsoft.Extensions.Http.Resilience is a replacement for Microsoft.Extensions.Http.Polly we tried updating to it in our .NET Framework 4.8 project. However, this gives us a plethora of warnings for various packages.
Maybe I'm missing something but the projects that get's the warning should support .NET 4.8 according to nuget.org. Is Microsoft.Extensions.Http.Resilience supposed to support .NET Framework or is it just a mistake? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
No, it is not a mistake. While the carried binaries compatible with the .NET Framework 4.6.2 onwards, Microsoft.Extensions.Http.Resilience (or any other Microsoft.Extensions.* packages for that matter) is not officially supported. The .NET Framework binaries are there to support Microsoft internal teams for the period of migration to .NET platform. FWIW, Microsoft.Extensions.* packages originating from dotnet/runtime repo have the same warnings. I understand this is probably not the answer you expected but this is the reality. That said, you can suppress the build warning |
Beta Was this translation helpful? Give feedback.
No, it is not a mistake.
While the carried binaries compatible with the .NET Framework 4.6.2 onwards, Microsoft.Extensions.Http.Resilience (or any other Microsoft.Extensions.* packages for that matter) is not officially supported. The .NET Framework binaries are there to support Microsoft internal teams for the period of migration to .NET platform.
FWIW, Microsoft.Extensions.* packages originating from dotnet/runtime repo have the same warnings.
I understand this is probably not the answer you expected but this is the reality. That said, you can suppress the build warning
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
in your proj (or the global props) file and co…