首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么dotnet发布没有发布预期的版本?

为什么dotnet发布没有发布预期的版本?
EN

Stack Overflow用户
提问于 2019-04-30 00:35:49
回答 1查看 166关注 0票数 1

处理CVE-2018-8409,注意到我们的dotnet发布(.NET核心2.1.403ASPNET核心应用程序)在我们的输出目录中发布了4.0.0.1版的System.IO.Pipelines.dll。

我在System.IO.Pipelines的v4.5.3中添加了一个nuget包引用。

我在构建输出中看不到对v4.0.0.1的引用,除此之外:

代码语言:javascript
复制
Unified primary reference "System.IO.Pipelines, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51".
         Using this version instead of original version "4.0.0.0" in "<home_dir>\.nuget\packages\microsoft.aspnetcore.connections.abstractions\2.1.3\lib\netstandard2.0\Microsoft.AspNetCore.Connections.Abstractions.dll" because AutoUnify is 'true'.
         Using this version instead of original version "4.0.0.0" in "<home_dir>\.nuget\packages\microsoft.aspnetcore.http.connections\1.0.4\lib\netstandard2.0\Microsoft.AspNetCore.Http.Connections.dll" because AutoUnify is 'true'.
         Using this version instead of original version "4.0.0.0" in "<home_dir>\.nuget\packages\microsoft.aspnetcore.server.kestrel.core\2.1.3\lib\netstandard2.0\Microsoft.AspNetCore.Server.Kestrel.Core.dll" because AutoUnify is 'true'.
         Using this version instead of original version "4.0.0.0" in "<home_dir>\.nuget\packages\microsoft.aspnetcore.server.kestrel.transport.abstractions\2.1.3\lib\netstandard2.0\Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.dll" because AutoUnify is 'true'.
         Using this version instead of original version "4.0.0.0" in "<home_dir>\.nuget\packages\microsoft.aspnetcore.server.kestrel.transport.sockets\2.1.3\lib\netstandard2.0\Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll" because AutoUnify is 'true'.
         Using this version instead of original version "4.0.0.0" in "<home_dir>\.nuget\packages\microsoft.aspnetcore.signalr.core\1.0.4\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Core.dll" because AutoUnify is 'true'.
         Resolved file path is "<home_dir>\.nuget\packages\system.io.pipelines\4.5.3\lib\netstandard2.0\System.IO.Pipelines.dll".
         Reference found at search path location "{HintPathFromItem}".
         This reference is not "CopyLocal" because at least one source item had "Private" set to "false" and no source items had "Private" set to "true".
         The ImageRuntimeVersion for this reference is "v4.0.30319"

NOTE : <home_dir> is my user directory, it's not actually part of the output, fyi.

然而,当我签入VS2017时,我清楚地看到nuget包显示为System.IO.Pipelines (4.5.3)

我期望输出中包含System.IO.Pipelines 4.5.3,包括任何必要的程序集绑定重定向。

知道我错过了什么吗?

谢谢!

EN

回答 1

Stack Overflow用户

发布于 2019-04-30 01:45:23

在一个极其恼人的举动中,进一步的分析告诉我nuget package 4.5.3包含汇编版本4.0.0.1

为什么微软,为什么

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55907502

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档