Skip to content

Instantly share code, notes, and snippets.

@mika76
Created October 28, 2020 07:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mika76/0e462448a10babbedfbe24bdbf19f104 to your computer and use it in GitHub Desktop.
Save mika76/0e462448a10babbedfbe24bdbf19f104 to your computer and use it in GitHub Desktop.
$callingAssembly = resolve-path $args[0]
echo "Running for $callingAssembly"
$ass = [Reflection.Assembly]::Loadfile($callingAssembly)
# [Reflection.AppDomain]::CurrentDomain
$refAssemblies = $ass.GetReferencedAssemblies()
$refAssemblies | Sort-Object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment