harleygreen.com
.net development

Harley Green

Using Powershell to get the strong name of an assembly

 

Here's a short powershell script to get the strong name of an assembly:

 
  1. function Get-AssemblyName {  
  2. param($file)  
  3. $path = Resolve-Path $file  
  4. [System.Reflection.AssemblyName]::GetAssemblyName($path).FullName  
  5. }  

If you add this to your profile, you can set up an external tool in Visual Studio to run this against the current project:

 


 

 

 


12/3/2008 2:33:00 PM Published by Harley Green Category Powershell Comments 0

Name

Web site
Comment


Back