After executing a script in the Package Manager Console, the IDE automatically switches to the Error List window.
_This issue has been moved from https://developercommunity.visualstudio.com/content/problem/109238/package-manager-console-switches-to-the-error-list.html
VSTS ticketId: 490850_
_These are the original issue comments:_
Zhi Li [MSFT] on 9/13/2017, 10:23 AM (119 days ago):
Thank you for your feedback! Could you provide the repro steps for this issue? is there any error in the error list? Thanks
Same problem here
Rob Relyea [MSFT] on 9/21/2017, 03:23 PM (111 days ago):
We look forward to hearing from you!
Trevor Tosello on 9/26/2017, 00:28 PM (106 days ago):
I am running EF 2.0. However, the issue doesn't occur just when running commands against EF. Even if I publish a web app, if I am currently on the Output tab the IDE automatically switches to the Error tab even though there are no errors to report. Its not critical, I know - but its seriously annoying when watching the output window for info.
Patricio Beltran Saldivar [MSFT] on 10/3/2017, 03:03 PM (99 days ago):
Hey Trevor, I've been trying to repro this issue with no luck. I want to understand why you are having this behavior, would it be possible for you to provide a project where I can see this happening? Do you find this behavior when you create a new blank project and try to run a script or just in your existing project?
Same thing happens to me.
VS version: 15.4.3
EntityFramework version: 6.1.3
It happens when you run commands like Update-Database etc
Jan de Kabouter on 12/20/2017, 05:01 AM (21 days ago):
Same problem here, but in a 'classic' asp.net mvc 5 project. It's really annoying.
_These are the original issue solutions:_
Trevor Tosello solved on 9/13/2017, 10:30 AM (119 days ago), 0 votes:
I added a video to show you how it happens. All I am doing is trying to execute PowerShell scripts. As soon as I hit <enter>, the tab changes. Its like this in v15.4 as well. No, there are no errors in the list.
Updated to VS 15.6.3 and this is still an issue for me. Very annoying. "Error List..." window reflects no errors, only warnings.
This is still happening for me on VS 15.7.3, it is quite annoying.
I literally don't know how this can not be reproducable. I just installed a brand new machine and this always happens. In addition the stop button and Ctrl+C never seem to function.
I just open a separate powershell console.
I get same issue in 16.2.0 Preview 1.0, when I run EF command in Package manager console it switches to output tab
Getting this issue on VS 15.9.13.
This happens when i run a command through Package Manager Console. Have verified it happens when running "Update-Database" and "Add-Migration".
If i type "c:" this bug does not happen.
If it's worth anything i have noticed the following:
I am running VS as local admin.
Just started using EF Core in our application and it's very annoying that this happens everytime you run a command in the package manager console.
Visual Studio 16.4.1
@v-luzh Does this repro in 16.6?
Not sure, as I'm using 16.5.4 (latest version available to us). However, the naughty behaviour seems to have been fixed somewhere along the line.
@simongymer Thank you for the information. I suspected this got fixed in 16.5 or 16.6 due to some improvements we did for error handling. It's great to hear that seems to be the case. Please let us know if you do hit similar issues again, though. Thank you everyone for your feedback!
This issue is present in 16.8.3
Most helpful comment
Just started using EF Core in our application and it's very annoying that this happens everytime you run a command in the package manager console.
Visual Studio 16.4.1