Search code examples
nugett4mvc

Updating NuGet packages: No package updates are available from the current package source


List 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 what 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                                                                                                                                 
...

Trying to update:

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

What's broken in my installation?

Update:

  • I use VS Express 2012 for Web Update 2 and NuGet 2.2.40116.9051
  • The package updates are not shown in NuGet GUI too.

Solution

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

    The workaround is simple: updates are working for individual projects, not for the solution.