I use Antlr tools as follows (on Mono)
dmcs /r:Antlr3.Runtime.dll /r:StringTemplate.dll *.cs /out:Main.exe
I reference two dll’s, but there is another dll file (antlr.runtime.dll) that is referenced behind the scene. I got this when I have an error just copying two dlls and compile.
Are there any .NET tools to detect what dll’s are referenced? For example, if I run ‘DETECT Antlr3.Runtime.dll’, I get ‘antlr.runtime.dll’.
You could use Reflector or write one using Mono.Cecil (NDepend use this)
Example using Mono.Cecil
In a new project, reference Mono.Cecil