Skip to content

Commit

Permalink
Add Pre-Release Floating Version Documentation (#3385)
Browse files Browse the repository at this point in the history
  • Loading branch information
aczarnick authored Jan 29, 2025
1 parent caaf359 commit d0bb0cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/concepts/Dependency-Resolution.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ When using a floating version, NuGet resolves the highest version of a package t
| 1.1.* | 1.1.0 <br> 1.1.1 <br> 1.1.2-alpha <br> 1.2.0-alpha | 1.1.1 | The highest stable version that respects the specified pattern.|
| \*-\* | 1.1.0 <br> 1.1.1 <br> 1.1.2-alpha <br> 1.3.0-beta | 1.3.0-beta | The highest version including the not stable versions. | Available in Visual Studio version 16.6, NuGet version 5.6, .NET Core SDK version 3.1.300 |
| 1.1.\*-\* | 1.1.0 <br> 1.1.1 <br> 1.1.2-alpha <br> 1.1.2-beta <br> 1.3.0-beta | 1.1.2-beta | The highest version respecting the pattern and including the not stable versions. | Available in Visual Studio version 16.6, NuGet version 5.6, .NET Core SDK version 3.1.300 |
| 1.2.0-rc.* | 1.1.0 <br> 1.2.0-rc.1 <br> 1.2.0-rc.2 <br> 1.2.0 | 1.2.0 | Despite this being a version range with a prerelease part, stables are allowed if they match the stable part. Given that 1.2.0 > 1.2.0-rc.2, it is chosen. | |

> [!Note]
> Floating version resolution does not take into account whether or not a package is listed.
Expand Down

0 comments on commit d0bb0cd

Please sign in to comment.