Reputation: 1
The source consists of more than 10 solutions. One of these solutions has dozens of public methods that the other solutions can refer to. How can I find dead codes that are not referenced in each solution among the public methods? I heard that Resharper is useful for finding dead codes. is it possible to find dead codes for multiple solutions?
Upvotes: 0
Views: 2315
Reputation: 203
If you add all solutions' projects to single solution, there will be only one solution. In that case, possible solutions for your problem is explained in this topic.
For my personal view, the best method is using CodeLens but it may not be enough for your all need.
The other alternative is writing your own application by using Roslyn parser. Basically all you have to do is give your source code to Roslyn and find the referenced methods which is explained in here as well.
Upvotes: 0