private void OnMissPackagesChanged(object sender, PackagesMissingStatusEventArgs e) { // after packages are restored, refresh the installed tab to show those packages. if (!e.PackagesMissing) { if (SelectedNode != null) { SelectedNode.Refresh(resetQueryBeforeRefresh: true); } } }
private void OnPackagesMissingStatusChanged(object sender, PackagesMissingStatusEventArgs e) { UpdateRestoreBar(e.PackagesMissing); }
private void packageRestoreManager_PackagesMissingStatusChanged(object sender, PackagesMissingStatusEventArgs e) { // PackageRestoreManager fires this event even when solution is closed. // Don't do anything if solution is closed. if (!Target.IsAvailable) { return; } if (!e.PackagesMissing) { // packages are restored. Update the UI if (Target.IsSolution) { // TODO: update UI here } else { // TODO: update UI here } } }