简体   繁体   English

如何在命令提示符下运行 VS Code 程序?

[英]How to run VS Code program on command prompt?

New to both VS Code and Visual Studio... When I run my C# program in Visual Studio, the command prompt opens and the program is run there. VS Code 和 Visual Studio 的新手......当我在 Visual Studio 中运行我的 C# 程序时,命令提示符打开并且程序在那里运行。 In VS Code however, the program is run in the integrated debug console.然而,在 VS Code 中,程序在集成的调试控制台中运行。

Is there a way I can set VS Code to open up cmd prompt and run my program there, rather than the VS Code debug console?有没有办法可以设置 VS Code 来打开 cmd 提示符并在那里运行我的程序,而不是 VS Code 调试控制台?

Thanks.谢谢。

Go to settings and search "Terminal: Explorer Kind". Go 设置并搜索“终端:资源管理器类型”。 Then set it to external select external.然后将其设置为外部 select 外部。 在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM