How do I programmatically list all projects in a solution?

前端 未结 12 1434
感动是毒
感动是毒 2020-11-29 04:06

How do I programmatically list all of the projects in a solution? I\'ll take a script, command-line, or API calls.

12条回答
  •  攒了一身酷
    2020-11-29 04:39

    If you write your program as Visual Studio Add-in you can access the EnvDTE to find out all the projects within the currently opened solution.

提交回复
热议问题