21 Apr 2010

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.



blog comments powered by Disqus