Created
August 21, 2011 09:34
-
-
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).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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