nuget spec dependencies, get latest version?

后端 未结 4 1827
旧时难觅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:21

    I am guessing you are trying to use nuget install or nuget restore to pull down the NuGet package using NuGet.exe.

    The version attribute in the packages.config defines the version installed in the project or solution.

    To get the latest version of the psake NuGet package you would need to install it using the Package Manager console, or the Manage Packages dialog or by knowing the exact version of the package, adding that into the packages.config file, and using package restore. Since psake is a solution level package it does not update your project the last option is feasible.

    The version ranges are used to restrict the package versions that are allowed to be installed in your project.

    
        
    
    

提交回复
热议问题