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.