Closed fannydengdeng closed 2 years ago
I wouldn't personally recommend this. The pattern we use for Restier is to constrain the upper-bound to the latest unreleased version at the time of the build, in this case 7.0.0. If, after .NET 7 RTMs, you determine the package is still compatible, you should issue a point release to the package that increments the upper-bound of the supported versions to 8.0.0.
Removing the upper-bound entirely might create a situation where future DI releases may create an incompatibility that you cannot stop at the package level.
This is needed to resolve NU1608 warnings for .NET 5 and .NET 6 projects.