I am trying to write a add-in for Visual Studio that, among other things, needs to keep track of every file in a Visual Studio solution. I know what events I need to subscri
This is all available easily using DTE in the Visual Studio SDK.
You can get a list of projects in a solution using the Projects interface.
You can get a list of items in a project using the ProjectItem interface.
For more information, I'd recommend reading up on Controlling Projects and Solutions.