Reputation: 2009
I have path to sln file: C:\test\test.sln
that has e.g 4 projects inside
How can I generate AST or AST per project or anything to be able to walk through those codes?
Upvotes: 0
Views: 247
Reputation: 19031
Use MSBuildWorkspace (there's some documentation here) which will let you load the project. From there, the link that Carles gave will give you some hints for how to walk around.
Upvotes: 1