Packages do not restore Nugetpackage

Asked

Viewed 38 times

0

After upgrading VS2017 to version 15.5.1 this project no longer restores packages

inserir a descrição da imagem aqui

I tried to remove the packages and install again but it didn’t work, reinstalled the VS didn’t work out tbm, researched a little and had some solutions to open the VS without the project, open the Package Manager Console and after opening the project but it didn’t work too...

  • Did Restore Packages? What exactly is this Warning he’s talking about?

  • when I try to give a Store this msgn: The Operation failed as Details for project Singlesignon.Identityserver could not be Loaded.

1 answer

1

Solution found in the stack in English:

1.) Delete the directory . vs at the root of your Solution

2.) Open the.config file in all projects and add all Binding Redirects.

3.) Delete bin and obj directories from all projects.

Obs.: When I went through it it was enough to delete the directory . vs, close the VS and open again, the Store started working again. If not solved, follow the other steps.

Link to the original answer.

EDIT: Is due avoid special characters in project names, sollution and directories.

  • It didn’t work, I tried every step....

  • Do any of your projects or Solution have any "special" characters in the name? type a parentheses or hyphen?

  • the project has a "." is (Singlesignon.Identityserver) the Solution is so Siglesignon

  • "." it is common to reflect the namespace, a colleague here had commented on the relatives

  • The folder where this project has parentheses or try to remove it...

  • Bahhh was that same was that it was a sweet thank you very much saved my life!!!

  • I’ll add the information to the answer ;)

Show 2 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.