Choose Skin

Update and Reinstall Project in Visual Studio

Manish Kumar

A project needs to be updated and reinstall in visual studio if :-

1. If you've opened a project and restored NuGet packages, but still see broken references, try reinstalling each of those packages.

2. Project is broken due to deleted files:

The Command to Update and Reinstall is:

update-package -project project_name -reinstall

go to : Tools > Nuget package Manager > Package Manager Console 

then write the command in  the console.

for ex-  update-package -project WebApplication1 -reinstall