Search code examples
c#visual-studiorider

String search in all .dll files in project


I am inspecting a large C# project. I tend to use Shift+Ctrl+F a lot to find in which files a specific function or field name occurs.

The problem is that Shift+Ctrl+F does not search inside .dll files that are included inside the project. Once you decompile a class from .dll file, you can search within with Ctrl+F, but I found no way to also search among other files.

How can I search all files (.dll or .cs) for a string? I am using Rider IDE, but can also revert to Visual Studio.


Solution

  • Open dll with JetBrains DotPeek, generate csproj and then search for text inside.

    I had a similar problem. Vote this issue please https://youtrack.jetbrains.com/issue/RIDER-21268