user8038446 user8038446 -4 years ago 116
C# Question

Error : Package restore failed

I am trying to add controller to my solution in Asp.net Core project.

While doing so i am getting this error.

enter image description here

enter image description here

I am getting the same message for adding minimal dependencies and full dependencies for controller.

Please help me with this issue. Thanks in advance.

Answer Source

I suggest you to create a new project and copy the code.

I got the same error before. You are getting this error because you updated NUGET packages in your project which you should not do.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download