From Microsoft documentation (here):
How to know the latest version value is actual on the current day?
You can look up the package using Nuget.org, see here. I'm not sure if it's possible to add a version reference that always resolves to the latest available version, as the Nuget dependency manager tries to resolve to the lowest applicable package available.