nuget spec dependencies, get latest version?

后端 未结 4 1832
旧时难觅i
旧时难觅i 2020-12-03 04:43

In the nuspec versioning docs I see

1.0  = 1.0 ≤ x
(,1.0]  = x ≤ 1.0
(,1.0)  = x < 1.0
[1.0] = x == 1.0
(1.0) = invalid
(1.0,) = 1.0 < x
(1.0,2.0) = 1.         


        
4条回答
  •  没有蜡笔的小新
    2020-12-03 05:15

    Alternatively, you could run restore on an arbitrary version followed by update as per https://docs.nuget.org/consume/command-line-reference. To ensure the latest you would need to re-run update.

    Update packages to latest available versions. This command also updates NuGet.exe itself. Please note that the presence of Packages folder is required to run the Update command. A recommended way is to run NuGet.exe Restore command first before running the Update command.

提交回复
热议问题