Open Package Manager Console from Visual Studio and run the following commands.
Reinstall all packages for all projects within the solution:
Update-Package -reinstall
Reinstall all packages for one project:
Update-Package -reinstall -Project ProjectName