I would like to open into memory an existing .sln file.
Example of a non-working method:
private Solution2 OpenSolution(string filePath) { Soluti
Solution2 et al are basically parts of Visual Studio SDK, which you'd have to redistribute with your application (with all the licensing implications).
Solution2
Since .sln files are plain old XML, you can always open it in XmlDocument and then XPath into it.
.sln
XmlDocument