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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.