0

I would like to obtain a collection of all .cs files in a solution for analysis from a Visual Studio Extension. There are a couple methods of doing this on SO, but these are outdated and clunky. Specifically, they utilize old COM compatibility libraries, and require casting and inspecting GUIDs stored as strings.

Any method which also gives access to some parse tree would be especially useful (in my case).

pensono
  • 336
  • 6
  • 17
  • "*There are a couple methods of doing this on SO, but these are outdated and clunky*" Do you have a specific problem with above solutions? Why do they not work for you? [Related meta discussion](https://meta.stackoverflow.com/q/318454/2441442) – Christian Gollhardt Aug 14 '18 at 00:54
  • 1
    They utilize old COM compatibility libraries, and require casting and inspecting GUIDs stored as strings. I'm hopeful that the visual studio team has something more modern that integrates well with C# and doesn't require verbose code to use. – pensono Aug 14 '18 at 01:00
  • Thank your for clarifying this. Please [edit] your question to reflect that comment, it might help you to get the answer you realy want @pensono – Christian Gollhardt Aug 14 '18 at 01:02

0 Answers0