csproj的“引用包含”属性中的版本属性错误

时间:2019-10-08 10:46:08

标签: c# .net assembly nuget csproj

我已经安装了nuget版本System.Runtime.InteropServices.RuntimeInformation的nuget软件包4.0.0

dll的程序集版本为4.0.2

绑定重定向似乎是正确的:

<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />

但是在.csproj中,版本属性为4.0.0.0。应该不是4.0.2.0吗?

    <Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <HintPath>..\..\..\packages\System.Runtime.InteropServices.RuntimeInformation.4.0.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
      <Private>True</Private>
      <Private>True</Private>
    </Reference>

0 个答案:

没有答案
相关问题