2013-04-22 33 views
4

列表包更新的NuGet包:沒有包更新可從當前包源在我的解決方案

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 2012快爲包更新不中的NuGet GUI顯示過的Web Update 2和的NuGet 2.2.40116.9051
+0

我已添加版本信息。 – artvolk 2013-04-23 08:08:21

回答

0

當我嘗試一個測試解決方案時,我實際上看到了和你一樣的東西。但在清理我的解決方案並重新啓動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                                          

所以我不知道這筆交易是什麼,它可能是一個錯誤的NuGet,但至少可以提供一個解決方法。

+0

我已經清理了我的解決方案並重新啓動了VS - 仍然沒有運氣。 – artvolk 2013-04-23 08:10:28

相關問題