I am coding specific rule by Roslyn .
In this rule, the analyzer is parsing method declaration and its references in entire solution by SymbolFinder
.
One of my requirements is finding a way to understand a Solution [has multiple projects] is either Asp.Net Webform or Asp.MVC by Roslyn.
Based on our projects,for this purpose, I need to find a file which is called "Web.SiteMap" in entire solution,
if this file exists, I can understand this project is Webform type otherwise is MVC.
I am wandering how can I do it by Roslyn in c#?