Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify version during Nuget Updating #2047

Closed
nikhilagrawaldotnet opened this issue Feb 20, 2018 · 1 comment
Closed

Specify version during Nuget Updating #2047

nikhilagrawaldotnet opened this issue Feb 20, 2018 · 1 comment
Labels
Milestone

Comments

@nikhilagrawaldotnet
Copy link
Contributor

nikhilagrawaldotnet commented Feb 20, 2018

What You Are Seeing?

During updating nuget via Cake, there is no option to specify version. It always updates to latest version. What if I want penultimate version?

What is Expected?

An option to take version. If not specified, should update to latest version.

What version of Cake are you using?

0.25.0

Are you running on a 32 or 64 bit system?

x64

What environment are you running on? Windows? Linux? Mac?

Windows

Are you running on a CI Server? If so, which one?

Will use TeamCity in future. However ATM, using VSCode for creating cake scripts.

How Did You Get This To Happen? (Steps to Reproduce)

I want to update specific packages to a desired version. I was able to specify Id's but not their version. Cake code confirmed my suspicion. The NuGetUpdateSettings does hot have property to specify version and therefore NuGetUpdater does not add version parameter to nuget.exe parameters whereas Nuget.CommandLine do provide such option.

cake1

test

@bjorkstromm
Copy link
Member

Closed #2046

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants