How can I prevent the Package Manager Console from hanging when cmdlet prompts for info? How can I prevent the Package Manager Console from hanging when cmdlet prompts for info? powershell powershell

How can I prevent the Package Manager Console from hanging when cmdlet prompts for info?


Like PowerShell ISE, the NuGet package manager console is implemented in WPF. It's not a real console window. It works perfectly well for promoting with native Cmdlets, but it doesn't handle native commands (com/exe) stdin redirection. The ISE suffers from the same failing. I did think about implementing it but the work required was disproportionately large for the perceived benefit. You can use response files or pipe responses to the native command a lot of a time, so there are workarounds. Try running an interactive command like netsh in ISE to see what happens.