How do I programmatically list all of the projects in a solution? I\'ll take a script, command-line, or API calls.
If you need to do this on a non Windows machine, you can use the following Bash command:
grep "Project(" NameOfYourSolution.sln | cut -d'"' -f4