Paket.VisualStudio icon indicating copy to clipboard operation
Paket.VisualStudio copied to clipboard

Package manager console blocked after installing a package

Open alexeyzimarev opened this issue 9 years ago • 10 comments

I yse Paket.VS 1.10 from the gallery. Each time I use Add package, the package manager console gets blockes. Nothing can be done there. Everything else works, but when I try to exit the VS, I get the message "Microsoft Visual Studio has detected that an operation is blocking user input. This can be caused by an active modal dialog or a task that needs to block user interaction. Would you like to shut down anyway?"

alexeyzimarev avatar Jun 14 '15 10:06 alexeyzimarev

So you are saying Paket.VisualStudio is blocking NuGet's package manager console? That's weird.

@hmemcpy ideas?

forki avatar Jun 14 '15 13:06 forki

I use the package manager console for all PowerShell commands, like Paket or NServieceBus, since this is the only PS console accessible within the VS. The block only happens if I use the Paket.VS UI. No problems when using the command line.

alexeyzimarev avatar Jun 14 '15 14:06 alexeyzimarev

Same here, it is really annoying. Also does not happen 100% of the time, but most of the time

alexeib avatar Dec 04 '15 12:12 alexeib

@hmemcpy do you have an idea?

forki avatar Dec 04 '15 12:12 forki

We also encountered the issue multiple times, so I'll investigate this.

dcorriveau-omniscient avatar Feb 04 '16 15:02 dcorriveau-omniscient

I see similar behaviour when using "Add package" on a References node: the package is added, but I can't type into the code panes. When I close VS, it complains that there's an active modal dialog.

frankshearar avatar Feb 06 '16 14:02 frankshearar

I see the same behavior with v1.0 of Paket.VisualStudio. In my case I am able to use the letter keys to type into files, but am unable to use the backspace, delete, enter and tab keys

execudev avatar Feb 20 '16 05:02 execudev

I'm having the same problem lately with Paket Extension 0.15.1. Must be something recent, because it worked fine before

tpluscode avatar Feb 24 '16 12:02 tpluscode

Same here, every time I use add package, a big part of my VS 2015 gets blocked, have to restart it every time (having the message "Microsoft Visual Studio has detected that an operation is blocking user input. This can be caused by an active modal dialog or a task that needs to block user interaction. Would you like to shut down anyway?") Can't edit files, can't use most of the views.

tenninebt avatar Feb 25 '16 10:02 tenninebt

For the time being I've determined that you can safely use the autocomplete feature of paket.dependencies and paket.references and then run paket install from the paket.dependencies context menu.

tpluscode avatar Feb 25 '16 15:02 tpluscode