How to list missing dependencies via CLI?
See original GitHub issuedependencies.exe my_exe.exe
prints nothing at all (but I think that might be intentional). I can run dependencies.exe my_exe.exe -knowndll
to see all the known DLLs and dependencies.exe my_exe.exe -imports
to see all listed imports, and manually crossreference them, but there has to be a way to just get the missing ones.
Running dependencies.exe my_exe.exe -modules
and dependencies.exe my_exe.exe -chain
throw
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Dependencies.PeDependencyItem.ResolveDependencies() in C:\projects\dependencies\Dependencies\Program.cs:line 294
at Dependencies.PeDependencyItem.ResolveDependencies() in C:\projects\dependencies\Dependencies\Program.cs:line 309
at Dependencies.PeDependencyItem.ResolveDependencies() in C:\projects\dependencies\Dependencies\Program.cs:line 309
at Dependencies.PeDependencyItem.ResolveDependencies() in C:\projects\dependencies\Dependencies\Program.cs:line 309
at Dependencies.PeDependencyItem.ResolveDependencies() in C:\projects\dependencies\Dependencies\Program.cs:line 309
at Dependencies.PeDependencyItem.ResolveDependencies() in C:\projects\dependencies\Dependencies\Program.cs:line 309
at Dependencies.PeDependencyItem.ResolveDependencies() in C:\projects\dependencies\Dependencies\Program.cs:line 309
at Dependencies.PeDependencyItem.ResolveDependencies() in C:\projects\dependencies\Dependencies\Program.cs:line 309
at Dependencies.PeDependencyItem.ResolveDependencies() in C:\projects\dependencies\Dependencies\Program.cs:line 309
at Dependencies.PeDependencyItem.ResolveDependencies() in C:\projects\dependencies\Dependencies\Program.cs:line 309
at Dependencies.Program.DumpModules(PE Pe, Action`1 Printer) in C:\projects\dependencies\Dependencies\Program.cs:line 503
at Dependencies.Program.Main(String[] args) in C:\projects\dependencies\Dependencies\Program.cs:line 591
But this isn’t about that, so please let me know what the way to list the missing DLLs, if possible.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to detect missing dependencies for an executable?
Look up the list of dependencies of an executable: · For apt , the command is: apt-cache depends <packagename>. This will check the...
Read more >How to list missing dependencies of Maven project
Maven shows you all dependencies that are missing in the first tier. ... and then re-run maven ( install or just mvn dependency:resolve...
Read more >List missing dependencies of uninstalled package - Ask Fedora
Another way might be to use dnf install <package> and look at the list of dependencies it wants to install for that package...
Read more >Checking RPM Dependencies From the Command Line
B – missing dependencies. To see the full list, we use the Up and Down arrow keys. Also, we can press the r...
Read more >How to get list of dependencies of non-installed RPM ...
Use the repoquery tool from the yum-utils package instead. repoquery --requires <package>. OR to also see which additional RPM packages are ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you test it with a up-to-date version please ? I think I fix the issue since v1.9
link : https://ci.appveyor.com/project/lucasg/dependencies/builds/29397059/job/jgtmvrfsdn62kfni/artifacts
1.9 :
master build :
Seems like it works for the Python exe for depth=1 (attached) and depth=2, and for my previous exe. Thank you!