aspnet / Tooling

Issue tracker and info on Visual Studio tooling for ASP.NET
Other
258 stars 124 forks source link

Manage Bower Packages: Update button should disable upon clicking #1010

Closed scottaddie closed 6 years ago

scottaddie commented 7 years ago

Here are the steps to reproduce in VS 2017:

  1. Use the ASP.NET Core Web Application (.NET Core) project template to create a new ASP.NET Core 1.1 Web Application with No Authentication.
  2. Right-click the web project in Solution Explorer, and select Manage Bower Packages....
  3. From the Installed tab, click the Update button for the Bootstrap package. Notice that the button doesn't disable after it's been clicked, yet the update is occurring.

This Update button should be disabled while the package update is in progress. Otherwise, the following command is executed each time the button is clicked: "C:\Users\Scott Addie\AppData\Roaming\npm\Bower.cmd" install bootstrap#v4.0.0-alpha.6 --force-latest --save.

In the screenshot below, you see what happens when I click the button 3 times in a row:

bower_update

mlorbetske commented 7 years ago

TFS Bug#406011

jodavis commented 6 years ago

This is fixed in the latest release of VS. Controls in the UI will be disabled whenever any commands are executing.