Based on the SO thread :
http://stackoverflow.com/questions/15027256/cannot-automatically-update-a-nuget-package-to-the-latest-version-during-build
I had this requirement in our Gallery Functional tests as well. The functional tests have a dependency on Nuget.Core package. I want the tests to be able to use either NuGet.Core 2.3 or NuGet.Core 2.2 which ever is available in the current source.
If the version specified in packages.config is not available in the current feed, PR can pick up the version that is present in the feed. This doesn't happen today even if allowedVersions are explicitly specified.
http://stackoverflow.com/questions/15027256/cannot-automatically-update-a-nuget-package-to-the-latest-version-during-build
I had this requirement in our Gallery Functional tests as well. The functional tests have a dependency on Nuget.Core package. I want the tests to be able to use either NuGet.Core 2.3 or NuGet.Core 2.2 which ever is available in the current source.
If the version specified in packages.config is not available in the current feed, PR can pick up the version that is present in the feed. This doesn't happen today even if allowedVersions are explicitly specified.