Share via

Find actual code where referenced code is used

Obedience Stuff 21 Reputation points
2022-08-11T17:38:41.653+00:00

I am trying to cleanup a C# winform Project that has 50,000 lines of C# code plus all the Designer and resx code which adds up to 100,000 lines of code. In the project directory there are files not ever referenced, in the project solution there are entries for C# files that aren't ever used in the build or publish. I am in need of a tool that displays what references are actually used and their file name (Not just named in the solution).

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

0 comments No comments

Answer accepted by question author

Mia Wu-MSFT 327 Reputation points Microsoft Employee Moderator
2022-08-12T07:11:23.527+00:00

Does this feature solve your problem? Find references in your code.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.