Getting an Assembly’s Strong name with PowerShell
Quick tip, should get me out of blogging hibernation.
It’s a common issue to find an assembly’s strong name, but this can be done very easily with a simple PowerShell function:
function Get-AssemblyStrongName($assemblyPath) { [System.Reflection.AssemblyName]::GetAssemblyName($assemblyPath).FullName }
Simply give the assembly’s full path and you’ll get the strong name in return.
Personnaly, I have that in my $profile file and have an alias gan for it.
April 21, 2010 | Tags: Tags: PowerShell | Leave a Comment
