Can I keep Nuget on the jQuery 1.9.x/1.x path (instead of upgrading to 2.x)?

前端 未结 4 1992
故里飘歌
故里飘歌 2020-12-12 12:51

Like most people, I\'m using the jQuery Nuget package to keep up to date.

However, with the release of jQuery 2.0 I\'m now prompted to upgrade jQuery 1.9.1 to 2.0. A

4条回答
  •  难免孤独
    2020-12-12 13:04

    I combined the two solutions from the top for @TeYoU

    First I Installed the package from the package manager console:

    Tools Menu -> Library Package Manager -> Package Manager Console

    PM> Install-Package jQuery -Version 1.9.1
    

    Then I edited the packages.config as @Dave R. says:

    
    

    Then I updated to the current version, currently 1.10.2 using Nuget Manager and it worked like a charm.

提交回复
热议问题