Nuget error “Object reference not set to an instance of an object” while installing Entityframework 7 from Package Manager Console in VS2015

后端 未结 11 1343
时光取名叫无心
时光取名叫无心 2021-02-05 05:15

I am trying to build a sample application using EF7 and mvc 6 in visual studio 2015 pre release.

While installing both EF7 and MVC6 using package manager console getting

相关标签:
11条回答
  • 2021-02-05 05:41

    I think your IPaddress doesn't connect to nugetpackage Use proxy to change your IPaddress I think that's true.

    0 讨论(0)
  • 2021-02-05 05:52

    After I restarted the computer, the problem is gone.

    0 讨论(0)
  • 2021-02-05 05:52

    Perfect and ultimate Solution Guys this is the perfect solution for that. First install the latest version of nuget (Nuget.VisualStudio) from your visual studio. Then install the sqlite through the last version of nuget you installed already. for more details just look the picture bellow. Thanks

    0 讨论(0)
  • 2021-02-05 05:55

    I solved my problem by adding:

    https://api.nuget.org/v3/index.json

    as a Package Sources feed, as shon on the picture below:

    0 讨论(0)
  • 2021-02-05 05:55

    In my case, i was having:

    Object reference not set to an instance of an object

    From package manager and i solved it closing all and opening again.

    0 讨论(0)
  • 2021-02-05 05:55

    Perfect and ultimate Solution Guys this is the perfect solution for that. First install the latest version of nuget from your visual studio. Then install the sqlite through the last version of nuget you installed already. for more details just look the picture bellow. Thanks]1]1

    0 讨论(0)
提交回复
热议问题