Load it in ILSpy. Select the desired assembly from the left-hand panel. Then, select "Save Code" from the File menu. This will export C# source code along with a Visual Studio project that can be opened in Visual Studio for debugging purposes.
Debugging modified Assembly
-
15-01-2022 - |
Question
I modified an Assembly using CECIL and saved both Assembly and its pdb back to disk. Now, is there a way to generate code file, i.e. c# file, from this modified Assembly and able to debug to that file during runtime?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow