Just a quick post!
Ever clone your .NET solution to a new computer and find that all of your nuget packages are missing?
Right-clicking on your solution and selecting "Restore Nuget Packages" doesn’t seem to do anything? This happens to me and then I never remember the command and have to google it. This time, I am going to write it down!
How To Do It
Open up your Package Manager Console
window. It should be on the bottom, but if it isn’t, in your pull down menus, goto Tools
| Nuget Package Manager
| Package Manager Console
. This was for Visual Studio 2019, but probably the same for 2017.
At the command prompt type:
update-package -reinstall
And that’s it! You should find all your annoying yellow warning triangles gone.