Tuesday, February 27, 2001 ..:: Home ::.. Register  Login
   TechTidBits (Blog)  

Having Problems Updating NuGet VS Extension?

Feb 2

Written by:
Thursday, February 02, 2012 8:22 PM  RssIcon

Are you using the NuGet Visual Studio Extension and getting errors when you try to update it?  I think I can help you!image

For the past, oh I don’t know, two months maybe, I’ve been getting messages from Visual Studio saying I can get a NuGet Extension update.  COOL! 



So I try, and I try again, and I try yet again!  What’s the problem?  My installation keeps failing!  DOH!  Is it me?  Not enough coffee?  Could be that?  But then it does it ever day/night I try it out!



Ok, so we look deeper into the problem. 



hhhhmmm uuhhhmmm…….Signatures don’t match?  What?  Well, if they don’t match, then maybe the installation is the problem?  hhmm a few weeks go by and the problems the same thing!


Until tonight!  Tonight I went to see Maxime Rouiller present at the ODNC, and as an aside while doing something else, he took a tangent and gave me my answer to this PERPLEXING problem!  Merci Maxime!!!!!  The secret is you have to run VS as administrator to first uninstall NuGet, BEFORE you can install the newest version.



Maybe YOU can get away without uninstalling, but tonight it wouldn’t work for me.  I had to uninstall first.



Note: From NuGet’s own website, it looks like you have to uninstall first.



Ok, now that you’ve uninstalled NuGet, it won’t come up in the Updates section anymore.  But that’s ok, go search for it, or if you’re lucky, it’ll be one of the first extensions in the Online Gallery and you can easily download/install it from there.  And there you go!  BOOM!  DONE!  No more annoying messages saying you have an update which you can’t install, you know the trick now!



Now that you know the trick to get NuGet installed, it’s time to grab a coffee and get coding!



Maxime Rouiller: Decaying Code, Where code comes to die (a recently awarded ASP.NET MVP)


Location: Blogs Parent Separator TechTidBits

1 comment(s) so far...


Re: Having Problems Updating NuGet VS Extension?

This article was mentioned on Jason Haley's Interesting Find:
You GOT to check this guy's stuff out! I'll guarantee you a Timmy's Double-Double (YES, I'm Canadian LOL) you WON'T be disappointed!

By Peter Henry on   Sunday, February 12, 2012 3:23 PM

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Add Comment   Cancel 
Copyright 1999-2012 by   Terms Of Use  Privacy Statement