0

I am using "dnSpy" application to read and change .net assembly exe module, I chose "Edit IL Instructions..." like that enter image description here

Then I change "brtrue" to "brfalse" as this picture
enter image description here

Then I saved a module like that
enter image description here Then I run NGRN like that
enter image description here Now When I test the exe application I face "Stopped Working" message as soon as I open it
enter image description here
Please Help

JustMe
  • 6,065
  • 3
  • 19
  • 17
  • is it failing only after ngen? What is the reason of the crash? – Paweł Łukasik Jun 10 '20 at 20:42
  • It failing before and after ngen, I can't understand the reason of crash, Is there any tool that diagnostic exe crash resons? – JustMe Jun 10 '20 at 21:49
  • If it crashes before `ngen` then debug in dnSpy. Or it crashes even before dnSpy takes the control? If that the case look in Events for an entry with a reason for this crash. Alternatively configure WER to collect a dump of the crash. – Paweł Łukasik Jun 11 '20 at 05:58

0 Answers0