Classes (API) for parsing Visual Studio Solution File (.sln)?
Do there exist a class within Team System or MSBuild that allows typed access and parsing of Visual Studio Solution Files (.sln)?
In case not, I have to manually parse through the text file (why is it still not based on XML?).
My requirements is to get path to included project files within the .sln. Parsing the file with a text reader should be real simple, but if there was an API it's always better to use that
.
you just need to add the EnvDTE assembly from the .net
there you find wrapper classes for all solution and project files. cheers, christoph
EnvDTE.
SolutionClass
cheers, christoph
cmn at 2007-9-9 >

It is surely nice that there exists such class. I remember parsing sln files manually in VS2003.
But one thing I am suspicious of - the VS SDK help has all kinds of helpful messages (likes of "Microsoft Internal Use Only." and "This method supports the .NET Framework infrastructure and is not intended to be used directly from your code. ") all over SolutionClass.
I would appreciate if someone could provide some hands-on experience with that not-at-all-well-to-say-the-least documented class.
Regards, Eugene