You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何让Visual Studio 2022项目启动Windows Terminal而非PowerShell?

问题

我正在运行Windows 11,已经完成以下两项设置:

  • 在Windows系统设置的Settings>Privacy & Security>For Developers>Terminal中,将Windows Terminal设为默认终端
  • 在Visual Studio 2022的Options>Environment>Terminal页面中,把Windows Terminal设置为默认终端

Visual Studio终端设置界面

但调试.Net 8 Minimal Api项目时,还是会启动常规PowerShell命令提示符。就算关闭所有终端并重启Visual Studio,这种情况依然存在。之前参考过相关的已解决问题,但对我无效。

内容的提问来源于stack exchange,提问作者CB_at_Sw

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.27 02:32:47