In package manager console restore your nuget packages code example Example: nuget package manager restore Update-Package -reinstall