0

What does the star mean in the PackageReference in C#?

E.g. here:

<PackageReference Include="MyApp.Misc.Utils" Version="3.0.*" />

Does it mean that as soon as there is an upgrade in the least significant version of the MyApp.Misc.Utils, that update will reach the project which references the MyApp.Misc.Utils?

I.e. if the current used version of the MyApp.Misc.Utils is 3.0.5 and I release a new version of the MyApp.Misc.Utils to the registry and that version number is 3.0.6, then the MyApp.Misc.Utils dependency will be automatically updated to the 3.0.6. Is it correct?

manymanymore
  • 2,251
  • 3
  • 26
  • 48
  • 3
    as of the docs for [floating version numbers in nuget-packages](https://learn.microsoft.com/en-us/nuget/concepts/package-versioning#floating-version-resolutions), the star means: The highest stable version. – MakePeaceGreatAgain Feb 07 '23 at 13:06

0 Answers0