Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop developer powershell from coming up when debugging?

In VS2022 I have an application that I am working on and at one point I opened the project in terminal (right click project -> Open In Terminal) and it brought up developer powershell. This worked fine. I closed the terminal window and thought that was it. It was not.

Now when I run any project/solution in debug mode, developer powershell comes up! I close VS2022 and reopen and load a new or existing solution and when I run in debug mode, developer powershell opens up. I do not want this to keep happening.

How can I stop this behavior? I cannot find anything that will turn it off. Is this a new bug with visual studio??

10/9/2023 I put in a report to Microsoft on this. The status is as follows: enter image description here

UPDATE April 3, 2024 When this ticket was put in VS2022 was at 17.7.4. Now at 17.9.5 it appears to be fixed.

enter image description here

I tested and it does appear that the issue is resolved. The other way to resolve this was to do a repair on the VS 2022 installation. Which one of my teammates did and it resolved it for him.

Hope this helps...

like image 432
Kixoka Avatar asked May 29 '26 21:05

Kixoka


1 Answers

Deleting the .vs folder under the solution folder solved the problem for me.

like image 132
kor_ Avatar answered Jun 01 '26 15:06

kor_