How do I programmatically list all of the projects in a solution? I\'ll take a script, command-line, or API calls.
There's a really elegant solution here: Parsing Visual Studio Solution files
The answer by John Leidegren involves wrapping the internal Microsoft.Build.Construction.SolutionParser class.
Microsoft.Build.Construction.SolutionParser