Search code examples
.netrefactoring.net-assemblydecompiler

Edit .NET assembly and recompile


I'm in a really bad situation. I lost my source code and my customer needs to change a little bit in the application. Think of edit an assembly for an example: Test.dll then add a code line and finally recompile it

So my question is: - Is it possible to do that? - If it's possible, what is the good tool to edit an assembly and then recompile it?


Solution

  • Yes, get ILSpy, it has the ability to save an assembly to disk with a .csproj and everything. This makes it easy to open in Visual Studio and recompile.

    ILSpy is free and open source.

    Save Code