简体   繁体   English

将 Microsoft IdentityModel 包更新到 6.23x 突然增加了 10 个 package 依赖项

[英]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:我们可以看到两个版本的依赖关系的区别:

6.19.0 6.19.0 在此处输入图像描述 6.26.1 6.26.1 在此处输入图像描述

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.

相关问题 Umbraco 7-无法加载文件或程序集“ Microsoft.IdentityModel”或其依赖项之一。 拒绝访问 - Umbraco 7- Could not load file or assembly 'Microsoft.IdentityModel' or one of its dependencies. Access is denied 什么是Microsoft.IdentityModel.Tokens中的actor令牌? - What is actor token in Microsoft.IdentityModel.Tokens? Microsoft.IdentityModel.Tokens:添加其他声明 - Microsoft.IdentityModel.Tokens: Add additonal claims Microsoft.IdentityModel.Clients.ActiveDirectory.Platform不存在 - Microsoft.IdentityModel.Clients.ActiveDirectory.Platform not present 无法将类型“Microsoft.IdentityModel.Tokens.SymmetricSecurityKey”隐式转换为“Microsoft.IdentityModel.Tokens.IssuerSigningKeyResolver” - Cannot implicitly convert type 'Microsoft.IdentityModel.Tokens.SymmetricSecurityKey' to 'Microsoft.IdentityModel.Tokens.IssuerSigningKeyResolver' 更新 Nuget 后无法找到程序集“Microsoft.Owin...”(及更多) - Could not locate the assembly "Microsoft.Owin..." (and more) after updating Nuget 找不到 package Swashbuckle.AspNetCore。 源中不存在具有此 ID 的包:Microsoft Visual Studio 离线包 - Unable to find package Swashbuckle.AspNetCore. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages 添加“Microsoft.jQuery.Unobtrusive.Validation”包请求jQuery 1.4.1? - Adding the “Microsoft.jQuery.Unobtrusive.Validation” package asks for jQuery 1.4.1? 无法在azure上找到程序集“Microsoft.IdentityModel”错误 - Unable to find assembly 'Microsoft.IdentityModel" error on azure 无法添加System.IdentityModel包/引用 - Can't Add System.IdentityModel package/reference
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM