visual studio 2017 - Error in VisualStudio PackageManagerConsole? -


i have c# project multiple nuget dependencies in vs2017. want restrict version update of nugets, changed project file follow:

<itemgroup>     <packagereference include="microsoft.aspnetcore.http.abstractions" version="[1.1.1, 2.0.0)" />     <packagereference include="microsoft.aspnetcore.localization" version="[1.1.2, 2.0.0)" /> </itemgroup> 

this work expected when work 'manage nuget packages', when use packagemanagerconsole ignore version restriction , try load version '2.0.0' of package!

also if update package using manage nuget packages, package updated correct version (1.1.2 @ moment) override restriction , project try update version '2.0.0'.

can tell me how should update nuget packagemanagerconsole , keep version restriction??


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -