Install-Package : Unable to find package 'WebActivator'

前端 未结 5 2026
暖寄归人
暖寄归人 2021-01-03 18:33

I have Visual Studio 2012 Express for Web. My Steps -Create a New ASP .NET MVC 4 application -choose basic template -go to Package Manager Console -try to install WebActivat

相关标签:
5条回答
  • 2021-01-03 18:55

    Change source according to visual studio version

    NuGet feed v3 (VS 2015 / NuGet v3.x): https://api.nuget.org/v3/index.json
    NuGet feed v2 (VS 2013 and earlier / NuGet 2.x): https://www.nuget.org/api/v2
    

    0 讨论(0)
  • 2021-01-03 19:00

    In my case, I could not install any package and got a similar error. The issue was solved as I unchecked the "Microsoft and .NET" under "Machine-wide package source":

    enter image description here

    I hope this can be help someone.

    0 讨论(0)
  • 2021-01-03 19:08

    I got a similar problem with another package in Visual Studio 2013, I cleared the NuGet package cache with the option "Clear Package Cache" and it works now.

    0 讨论(0)
  • 2021-01-03 19:15

    I just ran into this myself. The reference to WebActivatorEx didn't work. You'll have to do it manually. The file is in the packages directory.

    0 讨论(0)
  • 2021-01-03 19:17

    So easy

    https://www.nuget.org/packages/WebActivator

    Need point version of webActivator!!!

    PM> Install-Package WebActivator -Version 1.5.3 
    
    0 讨论(0)
提交回复
热议问题