Is it possible to use .NET Reflector (or an other tool) to modify and recompile the code quickly (that is, without dumping the source and then use Visual Studio to recompile it)?
Is it possible to use .NET Reflector (or an other tool) to modify and recompile the code quickly (that is, without dumping the source and then use Visual Studio to recompile it)?
You can probably use the Reflexil add-in for Reflector to do that:
Reflexil is an assembly editor and runs as a plug-in for Reflector. Using Mono.Cecil, Reflexil is able to manipulate IL code and save the modified assemblies to disk. Reflexil also supports 'on the fly' C# and VB.NET code injection.
.NET Reflector cannot do this, but other tools can decompile .NET assemblies, for example FileDisassembler (an add-in for .NET Reflector).
You can use Telerik JustDecompile, which is free (I have no affiliation with Telerik). After you load the assembly you wish to decompile, from the toolbar, click on Tools-> Create Project and it will create a .sln and .csproj which will include all the source files. You can even generate VB.NET source files if you prefer.