开发工具推荐-SwitchStartupProject

缘起

当微服务项目需要启动多个示例进行调试的时候,人工挨个去点击启动调试太麻烦,vs的多项目启动,每次不同的功能来回改配置太累.

正文

工具地址:https://marketplace.visualstudio.com/items?itemName=vs-publisher-141975.SwitchStartupProjectForVS2022

文档地址:https://heptapod.host/thirteen/switchstartupproject/blob/branch/current/Configuration.md

安装后可以看到这里多了一个选项框,选择Configure可以添加配置。如下示例

/*
    This is a configuration file for the SwitchStartupProject Visual Studio Extension
    See https://heptapod.host/thirteen/switchstartupproject/blob/branch/current/Configuration.md
*/
{
  /*  Configuration File Version  */
  "Version": 3,

  /*  Create an item in the dropdown list for each project in the solution?  */
  "ListAllProjects": true,
  "MultiProjectConfigurations": {
    "Test Invoice App": {
      "Projects": {
        "xxxx.WebApi": {},
        "xxxxx.IntermediaryService": {}
      }
    }
  }
}

使用的时候就直接切换示例使用就可以了。非常方便

结语

也欢迎大家阅读我的Abp vNext系列教程

联系作者:加群:867095512 @MrChuJiu

posted @ 2022-06-06 14:35  初久的私房菜  阅读(340)  评论(0编辑  收藏  举报
作者:初久的私房菜
好好学习,天天向上
返回顶部小火箭
好友榜:
如果愿意,把你的博客地址放这里
张弛:https://blog.zhangchi.fun/