How to specify specific dependency version in nuspec?

后端 未结 4 1263
予麋鹿
予麋鹿 2020-12-14 05:12

I\'m creating my first nuget package. I added a dependency with a version that is not the latest version. However, I don\'t want to update to the latest version of this de

4条回答
  •  無奈伤痛
    2020-12-14 05:47

    You should be able to force an exact version with brackets:

    
    

    Full info on the formats you can use are on the NuGet site, here:

    http://docs.nuget.org/docs/reference/version-range-specification

提交回复
热议问题