You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So do we still need to target for netstandard2.0, we have to reference some may not needed packages in the runtime such as Microsoft.Bcl.AsyncInterfaces/System.Memory etc which would cause package version conflict more easily, while for net8.0(take this for an example) these packages are not necessary to be a dependency since the framework includes these packages.
From the packages like System.Text.Json/Microsoft.Extensions.DependencyInjection, they add net6.0/net8.0 targets more than netstandard2.0, I also noticed that the new package Microsoft.Extensions.Http.Resilience had removed netstandard2.0 target, is this the correct way?
I'm not sure which is the correct way to go from my limited knowledge, and should we re-consider the target framework for the packages?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Since .NET Standard is replaced with new .NET
https://devblogs.microsoft.com/dotnet/the-future-of-net-standard/
So do we still need to target for
netstandard2.0
, we have to reference some may not needed packages in the runtime such asMicrosoft.Bcl.AsyncInterfaces
/System.Memory
etc which would cause package version conflict more easily, while fornet8.0
(take this for an example) these packages are not necessary to be a dependency since the framework includes these packages.From the packages like
System.Text.Json
/Microsoft.Extensions.DependencyInjection
, they addnet6.0
/net8.0
targets more thannetstandard2.0
, I also noticed that the new packageMicrosoft.Extensions.Http.Resilience
had removednetstandard2.0
target, is this the correct way?I'm not sure which is the correct way to go from my limited knowledge, and should we re-consider the target framework for the packages?
Beta Was this translation helpful? Give feedback.
All reactions