visual studio - Restrict nuget package updates to current versions for some packages -


is there way disable updates of specific nuget packages installed in project?

i have made local modifications couple of javascript library packages , not want run risk of updating on top of changes in future.

i've never created own nuget package, i'm guessing 1 option might fork existing packages?

you try constraining package project allow particular version used. updates newer version prevented.

you can editing project's package.config file. example, line below should allow version 2.1.0 used.

<package id="somepackage" version="2.1.0" allowedversions="[2.1.0]" /> 

Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -