asp.net mvc - Package restore failed. Rolling back package changes for 'myproject' in vs 2017 in MVC Core -


i install vs 2017 15.3 , create new mvc core project try install each new package package manager console or manage nuget package manager window , try update package or 1 of listed package, show on update tab ,after many times error :

severity code description project file line suppression state error package restore failed. rolling package changes 'sun'. 0

try re create new project in mvc -web or api project - , try update package same error. error happen in mvc core , create mvc 5 project ok.

  1. i clear cache of nuget
  2. add https://dotnet.myget.org/f/dotnet-core/api/v3/index.json in new get

but have last error again , how can resolve that?

if have latest ide, , creating new application, shouldn't have update packages project right after creating it. not unless adding new library doesn't come part of template chose.

are choosing asp.net core 2.0 in new asp.net core web application dialog when creating projects?

if asp.net core 2.0 doesn't show in list of options during project creation wizard, need install .net core 2.0 sdk. have close , reopen ide after sdk install see new option. without sdk, none of projects update core 2.0 successfully.

hope helps; luck!


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -