I\'m having issues with NuGet prerelease packages and was wondering what others had done in this situation. NuGet functionality seems completely different, and frankly, stra
As of 2018, this answer is out of date - see my other answer for updated information.
NuGet doesn't really support SNAPSHOT dependencies like Maven does, although there is an open issue to implement something similar and a discussion about such functionality.
A possibility suggested was to write a script to:
Alternatively when I work on my own projects, I always build and reference Foo
from source. Then, once Foo
project becomes stable enough that I don't update it much anymore, I then start stop referencing Foo
via source and instead build it and reference as a nuget package.
If you use PackageReference
elements inside of the new csproj file format, you can now using floating versions.
For builds from Visual Studio, you'll need to explicitly rebuild to pickup the changes. For non-Visual Studio builds, you'll need to -force
updates as noted in an issue discussing open versions and updates.