Created
November 14, 2015 17:08
-
-
Save jbevain/e54009c4a8208f24c006 to your computer and use it in GitHub Desktop.
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
using System; | |
using Mono.Cecil; | |
class AssemblyRenamer | |
{ | |
private static void Main(string[] args) | |
{ | |
var file = args[0]; | |
var newName = args[1]; | |
var assembly = AssemblyDefinition.ReadAssembly(file); | |
assembly.Name.Name = newName; | |
assembly.Write(file); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment