Visual Studio 2022 uses cmd instead of windows terminal #17415

Open
opened 2026-01-31 05:41:50 +00:00 by claunia · 0 comments
Owner

Originally created by @suntsu42 on GitHub (May 6, 2022).

Windows Terminal version

1.13.10984.0

Windows build number

10.0.22000.0

Other Software

No response

Steps to reproduce

I've configured windows terminal to be the default terminal:
image

I've created a simple .net 6 console application in Visual Studio Professional 2022
image

When i debug this console application, its started in a cmd shell rather than in the windows terminal
image

When i run cmd via "Windows-R", it does actually start the terminal (as expected). This means the windows terminal is set as default terminal for windows.

Is there a specific settings in visual studio in order to force the use of the windows terminal?

Expected Behavior

Visual studio starts the windows terminal when debugging a console application

Actual Behavior

Visual studio starts the cmd terminal

Originally created by @suntsu42 on GitHub (May 6, 2022). ### Windows Terminal version 1.13.10984.0 ### Windows build number 10.0.22000.0 ### Other Software _No response_ ### Steps to reproduce I've configured windows terminal to be the default terminal: ![image](https://user-images.githubusercontent.com/1768336/167101141-1090f46b-6c60-448a-b4f9-34d93df2e978.png) I've created a simple .net 6 console application in Visual Studio Professional 2022 ![image](https://user-images.githubusercontent.com/1768336/167101187-e05ed0fb-a8c2-49e8-a140-3ff5779446cb.png) When i debug this console application, its started in a cmd shell rather than in the windows terminal ![image](https://user-images.githubusercontent.com/1768336/167101313-5982a9f4-9968-4ae0-8152-d5e8f98abf83.png) When i run **cmd** via "Windows-R", it does actually start the terminal (as expected). This means the windows terminal is set as default terminal for windows. Is there a specific settings in visual studio in order to force the use of the windows terminal? ### Expected Behavior Visual studio starts the windows terminal when debugging a console application ### Actual Behavior Visual studio starts the cmd terminal
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17415