, , ,

This problem often appears after a project is fetched from a version control system and a new file structure is created on the local machine, with the packages folder being read-only by default. The fist step is to make sure the packages folder isn’t read-only.

Then reinstall the packages using the following command in the Package Manager Console:
Update-Package -Reinstall