Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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