Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save robertwilczynski/1160389 to your computer and use it in GitHub Desktop.
Save robertwilczynski/1160389 to your computer and use it in GitHub Desktop.
Powershell script to list all assemblies in the current dir that reference some other assembly (unity in this case).
Get-ChildItem -Filter *.dll .\ | ForEach-Object { foreach ($asm in [System.Reflection.Assembly]::LoadFrom($_.FullName).GetReferencedAssemblies()) { echo "$_.Name - $asm"} } | where { $_ -Match "unity" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment