net8 packages (e.g. Microsoft.Extensions.Http.Polly 8.0.0) target netstandard2.0 (and other various frameworks), but according to Microsoft they can only be used on net8 #52332
Labels
area-infrastructure
Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Is there an existing issue for this?
Describe the bug
Package
Microsoft.Extensions.Http.Polly
, version 8.0.0, targetsnetstandard2.0
. However, Microsoft has stated multiple times (example1, example2, example3) that MS package versions must match the app runtime version where they are used.As is, this package can be installed in apps targeting any framework and may result in an invalid runtime behaviour, but based on the above linked comments I think it should target
net8
(and 9.* should targetnet9
and so on).Is this something that can be done for this and other similar packages? Right now all the burden of ensuring correct dependency versions is shifted onto app developers, but it seems it could be solved with a stricter framework targeting.
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: