Wow, that was easy for somebody
If you follow the code blog at http://www.testdriven.net/ , you probably noticed the challenge to parse a solution file (sln).
It didn't get many takers, I thought it looked too much like work.
But if you look at the solution someone posted, it seems so simple, just a question of the right tool for the job and a nice helper class.
http://www.testdriven.net/Feed.aspx?item=b9e9835b-d19f-44ec-ad0b-879fbe040168