nuget - 更新 NuGet 包 : No package updates are available from the current package source

标签 nuget t4mvc

在我的解决方案中列出包

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                                                                                                                                                                       
    

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

    关于nuget - 更新 NuGet 包 : No package updates are available from the current package source,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16150192/

    相关文章:

    jquery - 使用T4MVC,如何在HTML表单上设置action属性

    visual-studio - 有条件地包含 NuGet 包

    c# - 库 NuGet 配置无效

    asp.net-mvc - 用于 Web.config <appSettings> 的 T4MVC

    visual-studio-2013 - 在 VS 2013 中手动运行 T4MVC 的最快方法是什么?

    c# - 如何让 T4MVC 重新生成 .generated.cs 文件?

    c# - 以编程方式获取 nuget 包的路径

    c# - 如何使用 SandcaSTLe NuGet 包 (EWSoftware.SHFB) 生成文档?

    nuget - nuget.config 的文档?

    javascript - 正确使用调用c#函数的引导开关(T4MVC/Entity Framework)