[英]updating Microsoft IdentityModel packages to 6.23x suddenly adding 10 more package dependencies
Anyone experience an unexpected issue when upgrading your IdentityModel package dependencies?在升级 IdentityModel package 依赖项时,有人会遇到意外问题吗? Is this a "bug" or is there another way to get around this?这是一个“错误”还是有其他方法可以解决这个问题?
I have several .NET 4.8.1 framework console apps that have a dependency on the IdentityModel package, which has always been a collection of these packages:我有几个 .NET 4.8.1 框架控制台应用程序依赖于 IdentityModel package,它一直是这些包的集合:
Microsoft.IdentityModel.JsonWebTokens
Microsoft.IdentityModel.Logging
Microsoft.IdentityModel.Tokens
System.IdentityModel.Tokens.Jwt
Our most recent packages were on 6.19.我们最近的软件包是在 6.19 上。 Nuget showed that 6.23.1 was available. Nuget 显示 6.23.1 可用。 So I let it "update" the packages... which suddenly pulled in MANY more packages (that were NOT shown as dependencies):所以我让它“更新”包......突然拉入更多包(未显示为依赖项):
Microsoft.IdentityModel.Abstractions
Microsoft.Bcl.AsyncInterfaces
System.Buffers
System.Memory
System.Numerics.Vectors
System.Runtime.CompilerServices.Unsafe
System.Text.Encoding
System.Text.Encodings.Web
System.Text.Json
System.Threading.Tasks.Extensions
System.ValueTuple
We can see the difference between the dependencies of the two versions:我们可以看到两个版本的依赖关系的区别:
And when we update this package we can see that:当我们更新这个 package 时,我们可以看到:
So I think this is normal, it is caused by the change in the dependencies of the Microsoft.IdentityModel.Tokens package所以我觉得这是正常的,是Microsoft.IdentityModel.Tokens package的依赖变化引起的
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.