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

Vernou

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 :

enter image description here

In project's properties, the version is different :

enter image description here

And in the .csproj :

<Project Sdk="Microsoft.NET.Sdk">

   <PropertyGroup>
       <TargetFramework>netstandard1.4</TargetFramework>
   </PropertyGroup>

</Project>

In Nuget, I add the dependency 'Microsoft.EntityFrameworkCore', then I got the warning :

Warning Detected package downgrade: NETStandard.Library from 1.6.1 to 1.6.0 AgainTest (>= 1.0.0) -> Microsoft.EntityFrameworkCore (>= 1.1.0) -> NETStandard.Library (>= 1.6.1) AgainTest (>= 1.0.0) -> NETStandard.Library (>= 1.6.0)

I select the high version in the project's property, but the warning continue.

  • What are all this version numbers?
  • How can I resolve this warning?
natemcmaster

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>

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Reset NuGet credentials in VS2017

How Do I Add an Embedded Resource to a "Class Library (Package)" Project in VS 2015 RC?

How do I get the new async semantics working in VS2017 RC?

Can Visual Studio 2017 RC auto-update to the official release?

How can I update a NuGet package on Visual Studio Team Services after NuGet Publish?

How should I create a library targetting .NET Framework 4.5.1 and .NET Standard 1.3 in VS 2017 RC?

Update Visual Studio 2017 from Visual Studio 2015.3 and 2017 rc

msbuild VS2017 solution with netstandard library in it

Why can't I get Suave to work on VS 2017?

Can I reference a .NetStandard library from my Windows 10 UWP app?

Can new projects in VS2017 store nuget packages in project packages director?

Unable to add any nuget package in vs 2017

Manage Nuget Packages crashes VS2017

Xamarin.Forms netstandard project broken with update to VS 2017.3

Advantages of netcoreapp2.0 vs netstandard2.0 for a library project

Vs2017: NuGet packages not restored with MSBuild

Nuget installed panel empty after VS 2017 update

How I can close horisontal navigation panels in VS 2017?

can't update or install any nuget packages in vs 2017

How reproduce VS2017 Package Manager command "Update-Package -reinstall" with Nuget CLI

Install nuget package : EntityFramework 6 in .NETStandard 2.0 class library

Can I migrate this old csproj to VS2017 csproj?

i want to add Nuget Package Manager along with VS2017 installation. What will be the command?

VS Express RC 2013 - How can I update the registry keys?

How can I copy the NuGet package native library files?

When running the NuGet pack command I get the error: 'AutoMapper' already has a dependency defined for 'NETStandard.Library'

NET Core loading interfaces from DLL get error can't find the file (VS2017 RC)

Nuget Push in VS2017

How can I add a module to a project in VS 2017 enterprise?