Skip to content

Instantly share code, notes, and snippets.

@jbevain
Created November 14, 2015 17:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbevain/e54009c4a8208f24c006 to your computer and use it in GitHub Desktop.
Save jbevain/e54009c4a8208f24c006 to your computer and use it in GitHub Desktop.
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