Share via


How to update nuget package in VS 2015 Community Edition?

Question

Tuesday, December 13, 2016 2:32 PM

Hello.

My project is using the "System.Numerics.Vectors" nuget package v4.1.0.0. I see that there is version 4.3 now available on the nuget gallery:

https://www.nuget.org/packages/System.Numerics.Vectors

How do I invoke the update process for this package within VS 2015 Community Edition? When I right click on the project name in the solution explorer and select "manage nugget packages..." I see "system.numerics.vectors" listed as installed but nowhere is there an "Update" button. I seem to remember this being a lot easier. What am I missing? Thanks in advance.

-L

All replies (7)

Wednesday, December 14, 2016 5:16 AM âś…Answered

Hi LKeene,

I'm also using VS2015 Community Edition and install the System.Numerics.Vectors v4.1.0.0 in my prpject. When I open Manage NuGet Packages, it is listed in the update list. Everything works fine.

Please check your VS version and NuGet Package Manager version. The latest version of Visual Studio at current should be version 14.0.25431.01 and latest version of NuGet Package Manager should be version 3.5.

If both of them has the latest version, please check your package sources from Tools -> Options -> NuGet Package Manager -> Package Sources. Make sure the nuget.org source url should be https://api.nuget.org/v3/index.json

And you also could try update this package version in Package Manager Console window. Please input following command to update the package.

Update-Package System.Numerics.Vectors -Version 4.3.0

If above steps still failed to update the package, please try download the package to local machine and then install it from your local machine.

Best Regards,
Weiwei

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].


Tuesday, December 13, 2016 2:42 PM

Hi!

Follow these steps : 

  • Right click to the solution
  • Select "Manage NuGet Packages for solution"
  • Select the tab "Updates"

See image below.

Hope it wil be useful.

If it's good for you, can you mark this answer as answer of your question please?

Follow me on twitter : https://twitter.com/NordineMhoumadi

Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't ask several questions in the same thread. SVP utiliser le Marquer comme reponse; sur les reponses qui vous aide car cela permet aux personnes qui peuvent rencontrer le meme probleme que vous, de retrouver rapidement quelle est la reponse qui a resolu leur probleme. De plus, cela encourage aussi la personne qui a repondu a votre question, et de repondre aux suivantes...


Tuesday, December 13, 2016 2:55 PM

Thank you for the reply. I did just that but when I click on the "Updates" there is nothing listed in the list box i.e. "no packages found".

-L


Tuesday, December 13, 2016 3:03 PM

You're welcome.

I've found this link : http://stackoverflow.com/questions/31688226/is-there-a-way-to-upgrade-all-nuget-packages-at-one-time-in-visual-studio-2015

Hope it wil be useful.

If it's good for you, can you mark this answer as answer of your question please?

Follow me on twitter : https://twitter.com/NordineMhoumadi

Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't ask several questions in the same thread. SVP utiliser le Marquer comme reponse; sur les reponses qui vous aide car cela permet aux personnes qui peuvent rencontrer le meme probleme que vous, de retrouver rapidement quelle est la reponse qui a resolu leur probleme. De plus, cela encourage aussi la personne qui a repondu a votre question, et de repondre aux suivantes...


Tuesday, December 13, 2016 3:11 PM

But I don't wish to update all the packages, I wish to specify the individual package to update. I've always been able to do this but now for some reason I can't. Something is just wrong here. Anyone? Maybe this has something to do with the fact that I'm using the Community Edition?

-L


Tuesday, December 13, 2016 3:25 PM

Ok.

I've found a NuGet Package Manager for VS 2015 in this link :

https://visualstudiogallery.msdn.microsoft.com/5d345edc-2e2d-4a9c-b73b-d53956dc458d/view/Reviews/2

Hope it wil be useful.

If it's good for you, can you mark this answer as answer of your question please?

Follow me on twitter : https://twitter.com/NordineMhoumadi

Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't ask several questions in the same thread. SVP utiliser le Marquer comme reponse; sur les reponses qui vous aide car cela permet aux personnes qui peuvent rencontrer le meme probleme que vous, de retrouver rapidement quelle est la reponse qui a resolu leur probleme. De plus, cela encourage aussi la personne qui a repondu a votre question, et de repondre aux suivantes...


Thursday, December 15, 2016 4:31 AM

Thank you Weiwei, that worked!

-L