How to update referenced package versions from CLI
See original GitHub issueSteps to reproduce
- Type
dotnet help
Expected behavior
- 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
- 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:
- Created 6 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You might find this useful
https://gist.github.com/JonCanning/a083e80c53eb68fac32fe1bfe8e63c48
No problem, have added a ps version too!