NuGet package updates: package updates are not available from the current package source

List of packages in my solution

PM> Get-Package Id Version Description/Release Notes -- ------- ------------------------- ... T4MVC 3.2.0 T4MVC is a T4 template that generates strongly typed helpers for ASP.NET MVC. T4MVCExtensions 3.2.0 Runtime helpers used by code generated by T4MVC ... 

Check which version of T4MVC is available:

 PM> Get-Package -ListAvailable -Filter T4MVC Id Version Description/Release Notes -- ------- ------------------------- ... T4MVC 3.5.3 T4MVC is a T4 template that generates strongly typed helpers for ASP.NET MVC. T4MVCExtensions 3.5.3 Runtime helpers used by code generated by T4MVC ... 

Attempt to update:

 PM> Get-Package -Updates No package updates are available from the current package source. 

What is broken in my installation?

Update :

  • I am using VS Express 2012 for web updates 2 and NuGet 2.2.40116.9051
  • Package updates also do not appear in the NuGet GUI.
+4
source share
2 answers

This seems to be a bug in NuGet, here is a bug report from someone else: http://nuget.codeplex.com/workitem/3289

The workaround is simple: updates work for individual projects, not for solutions.

0
source

When I tried to find a test solution, I actually saw the same thing as you. But after clearing my solution and rebooting VS, it started working correctly.

 PM> Get-Package -Updates Id Version Description/Release Notes -- ------- ------------------------- EntityFramework 5.0.0 Entity Framework is Microsoft recommended data access technology for new applications. jQuery 2.0.0 jQuery is a new kind of JavaScript Library.... jQuery.UI.Combined 1.10.2 jQuery UI is an open source library of interface components β€” interactions, full-featured widgets, and animation effects β€” based on the stellar jQuery javascript library . Each component is built according to jQ... jQuery.Validation 1.11.1 This jQuery plugin makes simple clientside form validation trivial, while offering lots of option for customization. That makes a good choice if you're building something new from scratch, but also when you're t... Modernizr 2.6.2 Modernizr adds classes to the <html> element which allow you to target specific browser functionality in your stylesheet. You don't actually need to write any Javascript to use it.... T4MVC 3.5.4 T4MVC is a T4 template that generates strongly typed helpers for ASP.NET MVC. T4MVCExtensions 3.5.4 Runtime helpers used by code generated by T4MVC 

So I'm not sure what a deal is, and this is probably a NuGet bug, but at least it can provide a workaround.

0
source

All Articles