How to clear your NuGet caches
NuGet caches downloaded packages to avoid lengthy update times. Sometimes, however, restoring packages (such as a CI server) can become problematic. Below is an easy method of clearing your cache to help debug restore issues.