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

c# - Sort XmlNodeList with a specific Node value -

Android Java.Lang.RuntimeException : Unable to start activity Component Info -

actionscript 3 - Equivalent to moveReceived in ElectroServer 5 -