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

血红的双手。 提交于 2019-12-05 00:51:42

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>

Adding the following to your csproj also seems to work:

<ItemGroup>
    <PackageReference Update="NETStandard.Library" Version="1.6.1" />
</ItemGroup>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!