سؤال

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?

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top