Find Unused Resources in a .NET Solution

I couldn't find any existing solution that would search for string resource references in XAML files and batch-remove unused ones.

So I wrote this: https://github.com/Microsoft/RESX-Unused-Finder

RESX Unused Finder screenshot

It searches a project directory for references to string resources, then displays a list of ones it couldn't find a match for. You can specify a template to search for so it can find references in XAML files.


I created a free open-source VS extension that looks for unused images in a project, just published the first version: https://marketplace.visualstudio.com/items?itemName=Jitbit1.VSUnusedImagesFinder


Recently ResXManager 1.0.0.41 added a feature to show the number of references to a string resource.

Screenshot showing the new reference column

Tags:

.Net

Resources