更新NuGet程序包:当前程序包源中没有可用的程序包更新

更新NuGet程序包:当前程序包源中没有可用的程序包更新,nuget,t4mvc,Nuget,T4mvc,列出我的解决方案中的包 PM> Get-Package Id Version Description/Release Notes

列出我的解决方案中的包

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                
...
检查T4MVC的可用版本:

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                                                                                                                                 
...
正在尝试更新:

PM> Get-Package -Updates
No package updates are available from the current package source.   
我的安装中有什么问题

更新

  • 我使用VS Express 2012进行Web Update 2和NuGet 2.2.40116.9051
  • 包更新也不会显示在NuGet GUI中

当我尝试测试溶液时,我实际上看到了与您相同的东西。但是在清理我的解决方案并重新启动VS后,它开始正常工作

PM> Get-Package -Updates

Id                             Version              Description/Release Notes                                                                                                                                                                                             
--                             -------              -------------------------                                                                                                                                                                                             
EntityFramework                5.0.0                Entity Framework is Microsoft's 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                                                                                                                                                                       
PM>获取软件包-更新
Id版本说明/发行说明
--                             -------              -------------------------                                                                                                                                                                                             
EntityFramework 5.0.0 Entity Framework是Microsoft推荐的用于新应用程序的数据访问技术。
jQuery 2.0.0 jQuery是一种新的JavaScript库。。。。
jQuery.UI.Combined 1.10.2 jQuery UI是一个开放源码的界面组件库——交互、全功能小部件和动画效果——基于stellar jQuery javascript库。每个组件都是根据jQ。。。
验证1.11.1这个jQuery插件使得简单的客户端表单验证变得微不足道,同时提供了大量定制选项。这是一个很好的选择,如果你是从零开始建立新的东西,但当你不。。。
Modernizr 2.6.2 Modernizr向元素中添加类,这些类允许您在样式表中针对特定的浏览器功能。您实际上不需要编写任何Javascript来使用它。。。。
T4MVC 3.5.4 T4MVC是一个T4模板,它为ASP.NET MVC生成强类型帮助程序。
T4MVC生成的代码使用的T4MVCExtensions 3.5.4运行时帮助程序

所以我不确定交易是什么,这可能是一个NuGet bug,但至少这可能提供了一个解决方法。

这似乎是NuGet中的一个bug,下面是其他人的bug报告:


解决方法很简单:更新只适用于单个项目,而不适用于解决方案。

我添加了版本信息。我清理了解决方案并重新启动了VS,但仍然不走运。