How do you install a nuget package with a matching pattern:
For example, I want nuget to get any version matching the pattern 1.0.0*
(1.1.0-rc
, 1.1.0.1
, etc...).
But nuget doesn't support the wildcard character, I get an error '1.1.0*' is not a valid version string
And running:
nuget install <mypackage> -Version 1.0.0 -Source <myserver>
Will only resolve 1.0.0
version and nothing else.
I actually wrote a script that queries the server for version, and picks whatever I want, but I wonder if there's a native way of doing that using just the nuget CLI.