-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The NuGet manager in Visual Studio reloads when focus is regained #4176
Comments
Since this issue was created, we've stopped reloading when on the browse tab, but not the installed and consolidate tabs. fyi @donnie-msft |
I think my other work to keep Installed/Updates packages in a cache could improve this by default. There's still a background reload of metadata... which would be less aggressive. Could do that only after a certain time interval. But maybe even that's not necessary since we have a Refresh button . |
@donnie-msft not sure if related, let me know if i should open a new issue. tried searching which brought me here. I find that package updates basically pause if focus is not kept with VS. from a workflow perspective i will usually hit update and then go do something else while i wait. for a while now i've found that as soon as i alt-tab away everything pauses. when i alt-tab back and click in the window the update progress will continue. it sounds like a "watched pot never boils" kind of thing but i've definitely confirmed it over and over again where it takes moments or minutes if i have it focused and will frequently never complete if i don't leave it at the front. |
@mrtristan please report a separate issue for that one... that's interesting and we definitely need to investigate there. |
Is this fixed for the Updates tab in Visual Studio, then? If so, in which VS version? |
@loop-evgeny 16.9. I just verified it on my end by switching between a cs file and previously opened updates tab in the package manager UI. |
Thank you, I updated to VS 16.9.3 and this specific issue is indeed fixed. However, when I switch between the NuGet package manager tabs (Installed, Updates, Consolidate) it still reloads every time, even though nothing has changed. I don't understand why it even needs to load anything for each tab separately - there is one list of installed packages, and once that's loaded, surely it's easy to work out which have updates and which have different versions between projects? |
Tested on Visual Studio 2015 (latest bits) and 2017 (latest bits) on Windows 10 (with anniversary update).
When I open the NuGet manager (for solution or project) and select the consolidate tab, it takes a very long time to load. I don't really understand why, but that's not the real question here. The problem is that it reloads everytime I switch from a code file, to the NuGet manager. Really frustrating if you want to update some packages and in the meanwhile do some actual work.
Why is this update done when the focus is regained? There is a "refresh" button on the tab, if I really want to update, I'll use that one.
The text was updated successfully, but these errors were encountered: