Use. net Reflector to manually modify a single dll file. netreflectordll

Source: Internet
Author: User

Use. net Reflector to manually modify a single dll file. netreflectordll

Modifying bugs in the project will cause version confusion. In addition, there are many dependent projects in the dll, It is very troublesome to modify a small amount of code in a single dll file.

You can use Reflector and Reflexil to manually modify a single dll file. I am using. Net Reflector 8.5 + Reflexil 1.6.

Reflexil is a plug-in Reflector. Open Reflector and Click tools> add-ins.

Then click "+"

Find the downloaded Reflexil and open the Reflexil plug-in tools.

Open the dll file to be modified, find the class file to be modified, and click tools> Reflexil. The Reflexil window appears.

Find the row to be modified in the Reflexil window, right-click and select edit

Modify the current behavior return; click update, and right-click the dll file and choose Save

Then open the saved dll, and you can see that the return is added in the previous place;

Alternatively, you can right-click the dll and select any row and select Replace all with code.

However, this method requires all the methods in the dll to be overwritten and re-compiled.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.