question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to update referenced package versions from CLI

See original GitHub issue

Steps to reproduce

  1. Type dotnet help

Expected behavior

  1. Expect to see dotnet update or similar command to update referenced packages. Something equivalent to Visual Studio’s GUI that allows upgrading packages.

Actual behavior

  1. After much searching, I can’t find any command to update the package version.

Other thoughts

Currently there is no way that I can tell to update package versions when running on Linux, except to delete the reference and add it back. I can set the the Version attribute to equal “*”, but that does not bind to a predictable version.

Is there a way to list which packages are upgradeable that I missed?

If there is not such a command, is it desired?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
JonCanningcommented, Sep 6, 2018
1reaction
JonCanningcommented, Sep 6, 2018

No problem, have added a ps version too!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Updating NuGet packages from command-line - deep dive
I set out to find a better way to update NuGet packages across multiple projects and solutions. This post is a summary of...
Read more >
NuGet CLI update command
Updates all packages in a project (using packages.config ) to their latest available versions. It is recommended to run 'restore' before running ...
Read more >
NuGet: Update a package to a specific version in all ...
The update command will download and extract all new packages to the packages folders. Assembly references will be updated in the project ...
Read more >
How to update referenced package versions from CLI #9050
Steps to reproduce. Type dotnet help. Expected behavior. Expect to see dotnet update or similar command to update referenced packages.
Read more >
update-package-versions-status
Using UpdatePackageVersionsStatus , you can update the status of package versions to Archived , Published , or Unlisted . To set the status...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found