VS 2017 RC : I Can not update NETStandard.Library in Nuget

后端 未结 2 2074
没有蜡笔的小新
没有蜡笔的小新 2021-02-19 00:48

From the last (or maybe the two last) update, I can\'t update the package NETStandartLibrary in Nuget. I just create a new standard library project. See this message :

相关标签:
2条回答
  • 2021-02-19 01:22

    Adding the following to your csproj also seems to work:

    <ItemGroup>
        <PackageReference Update="NETStandard.Library" Version="1.6.1" />
    </ItemGroup>
    
    0 讨论(0)
  • 2021-02-19 01:43

    You can't change this from the GUI because this package is impliclity defined from your TargetFramework. To change the version of NETStandard.Library package, add the following to your csproj file.

    <PropertyGroup>
      <NetStandardImplicitPackageVersion>1.6.1</NetStandardImplicitPackageVersion>
    </PropertyGroup>
    
    0 讨论(0)
提交回复
热议问题