I pulled my solution from SVN into Visual Studios 2015. I'm getting errors on some of my "using" references within the code, so I am trying to run the "Restore NuGet Packages" option when right clicking the solution in the "Solution Explorer". This does nothing. I have to manually go into nuget manager and uninstall then reinstall the items. Why is this? How can I get "Restore NuGet Packages" to work?
You might did not enabled automatic package restore from the following section:
Tools >> Options >> Nuget Package Manager >> General settings.
Also you can try this:
Update-Package -Reinstall
This code will forces re-installation in all solution's projects.
Look at the following for more info:
nuget-package-restore-not-working
Migrating MSBuild-Integrated solutions to use Automatic Package Restore
Hope this will help :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With