Findref
A simple dotnet global tool for searching for .NET referenced assemblies
Install / Use
/learn @henrihs/FindrefREADME
FindRef - find those references!
findref is a simple dotnet global tool designed for searching through a directory of DLLs after a given assembly reference. It supports searching through assemblies targeting netstandard, netcoreapp or .NET Framework
Installing
Prerequisite: .NET Core SDK >= 2.1
$ dotnet tool install --global findref
Usage
$ findref -h
Usage: [arguments] [options]
Arguments:
assemblyname the name of the assembly to look for references to. Case insensitive, matches if the FullName is equal to the argument.
Options:
-?|-h|--help Show help information
-d|--directory <DIRECTORY> the root directory to search through (default: working directory)
-r|--recursive search directory recursively
-v|--verbose write verbose output to stdout
-e|--regex use assemblyname argument as regex pattern
$ findref -v -d $REPOS/FindRef/src/bin/debug/netcoreapp2.1/ dnlib
Loading DLLs from 'src/bin/Debug/netcoreapp2.1/'
FindRef.dll (1.0.0.0) has a reference to dnlib (3.1.0.0)
Run from source
$ git clone https://github.com/henrihs/findref.git
$ cd findref/src
$ dotnet run -- -r McMaster.Extensions.CommandLineUtils
FindRef.dll has a reference to McMaster.Extensions.CommandLineUtils
Run using Docker
docker run --rm -it --volume="$PWD:/assemblies:ro" henrihs/findref [arguments] [options]
Example, to search for NewtonSoft.Json in the current directoy, use:
docker run --rm -it --volume="$PWD:/assemblies:ro" henrihs/findref -d . Newtonsoft.Json
Building the image locally
docker build -t henrihs/findref .
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
