How do I update tool packages?
See original GitHub issueCake calls nuget install
with the -ExcludeVersion
switch. Because of this, NuGet doesn’t know which version is currently installed, so if there’s any version of the package currently installed, NuGet assumes that it’s up to date, even though it’s not.
For instance, if I have this in my tools/packages.config:
<package id="NUnit.ConsoleRunner" version="3.2.0" />
and the package is already installed, when I update the packages.config to this:
<package id="NUnit.ConsoleRunner" version="3.4.1" />
NuGet doesn’t install the new version, because it assumes it’s already there.
What is the proper way to force a packages to be update (besides removing the packages already in tools)? Was there a specific reason to use -ExcludeVersion
?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Reinstalling and Updating NuGet Packages
Being mindful of the Considerations described below, you can easily reinstall any package using the Update-Package command in the Visual Studio ...
Read more >Updating packages downloaded from the registry
Updating local packages ; Navigate to the root directory of your project and ensure it contains a package.json file: cd /path/to/project ; In...
Read more >Update the IDE and SDK tools | Android Studio
To update an item or install a new one, select the checkbox. To uninstall a package, click to clear the checkbox. Pending updates...
Read more >How to Update All Python Packages
Click to update all Python packages for Windows and Linux with pip or pipenv.
Read more >Update Packages with the Offline Tool
On a client computer that contains the latest updates, navigate to the folder C:\Program Files (x86)\BeyondTrust\Updater\Service. · Double-click the OfflineTool.
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
@gep13 great, thanks 😄
@thomaslevesque I have just merged @mholo65’s suggestion into this repository, and I am away to make the same change in the default bootstrapper as well.