How to upgrade nuget packages if the installed version is missing?

Stephen Patten

Running into a situation where I deployed an application to production a few months ago and now I need to do some work on it, on an entirely new machine. The first I do is pull source and nuget restore won't restore because it can't find the particular version of the package it was developed under. When I check nuget.org for this package version it is not there. So how do I upgrade my solution to the latest binaries?

Visual Studio 2013 trying to update ServiceStack '4.0.39' to latest, which is '4.0.40' at the time of this post.

Thank you, Stephen

Tim Long

The best solution I've come up with for this is to manually edit the Packages.config file(s) and set the version number to whatever you want. Restore should then work. It's not a perfect solution but it has dug me out of some holes.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Does NuGet automatically upgrade installed packages to new versions?

From Java

NuGet Packages are missing

From Dev

Missing Nuget packages

From Dev

How to list all the installed packages and their version with Cabal?

From Dev

How can I find executables installed by NuGet packages?

From Dev

How to get a list of installed packages held back from upgrade?

From Dev

How do I upgrade all of my installed packages in OpenWRT?

From Dev

NuGet Packages claiming to not be correctly installed

From Dev

Finding installed packages and the version

From Dev

Allow user to upgrade installed packages

From Dev

Allow user to upgrade installed packages

From Dev

Nuget Packages are missing in Visual Studio

From Dev

Does an upgrade from 12.10 to 13.04 will effect the version of PHP/other packages installed?

From Dev

Does an upgrade from 12.10 to 13.04 will effect the version of PHP/other packages installed?

From Dev

Upgrade to a specific Package version with NuGet

From Java

How can I see the current version of packages installed by pipenv?

From Java

How to get list of all installed packages along with version in composer?

From Dev

How can I see the current version of packages installed by pipenv?

From Dev

How can I check the version of packages to be installed with apt-get?

From Dev

Guarantee same version of nuget packages

From Dev

Cannot upgrade nuget packages for Xamarin.Android

From Dev

Nuget Package Manager showing updates for packages not installed

From Dev

NuGet doesn't show installed packages

From Dev

NuGet Restore Failing to See that Packages are not Installed

From Dev

How to remove installed packages

From Dev

How to remove installed packages

From Java

Guard installed packages from upgrade when installing new packages with pip

From Dev

Not all updates can be installed (missing packages)

From Dev

How to install all missing Assemblies and Nuget packages with dependency in one go - Visual Studio 2017?

Related Related

  1. 1

    Does NuGet automatically upgrade installed packages to new versions?

  2. 2

    NuGet Packages are missing

  3. 3

    Missing Nuget packages

  4. 4

    How to list all the installed packages and their version with Cabal?

  5. 5

    How can I find executables installed by NuGet packages?

  6. 6

    How to get a list of installed packages held back from upgrade?

  7. 7

    How do I upgrade all of my installed packages in OpenWRT?

  8. 8

    NuGet Packages claiming to not be correctly installed

  9. 9

    Finding installed packages and the version

  10. 10

    Allow user to upgrade installed packages

  11. 11

    Allow user to upgrade installed packages

  12. 12

    Nuget Packages are missing in Visual Studio

  13. 13

    Does an upgrade from 12.10 to 13.04 will effect the version of PHP/other packages installed?

  14. 14

    Does an upgrade from 12.10 to 13.04 will effect the version of PHP/other packages installed?

  15. 15

    Upgrade to a specific Package version with NuGet

  16. 16

    How can I see the current version of packages installed by pipenv?

  17. 17

    How to get list of all installed packages along with version in composer?

  18. 18

    How can I see the current version of packages installed by pipenv?

  19. 19

    How can I check the version of packages to be installed with apt-get?

  20. 20

    Guarantee same version of nuget packages

  21. 21

    Cannot upgrade nuget packages for Xamarin.Android

  22. 22

    Nuget Package Manager showing updates for packages not installed

  23. 23

    NuGet doesn't show installed packages

  24. 24

    NuGet Restore Failing to See that Packages are not Installed

  25. 25

    How to remove installed packages

  26. 26

    How to remove installed packages

  27. 27

    Guard installed packages from upgrade when installing new packages with pip

  28. 28

    Not all updates can be installed (missing packages)

  29. 29

    How to install all missing Assemblies and Nuget packages with dependency in one go - Visual Studio 2017?

HotTag

Archive