restore nuget package before build console code example Example: nuget package manager restore Update-Package -reinstall