title: Get a list of Solution/Project Files for VS Add-in or DXCore Plugin
body: <p>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 subscribe to (when a Solution is opened, when a file is added/removed/edited in it, the same for projects, etc), but I don't understand how to actually get a list of files from any of it.</p>
  
  <p>I recently installed CodeRush and have been playing with the DXCore framework. I'm very happy with it's approach at plugins, but I still don't see an obvious way to get a list of files in the solution.</p>
  
  <p>So to sum it up: <strong>How, via the Visual Studio SDK <em>or</em> DXCore, do I get a reliable list of files in the solution and it's projects?</strong></p>