Is it possible after using Net Reflector and getting the source code of the program, to use the form editor, if the decompiled program was a WinForm application?
Now I do not see the form editor.
Is it possible after using Net Reflector and getting the source code of the program, to use the form editor, if the decompiled program was a WinForm application?
Now I do not see the form editor.
Update
The new version of the Windows Forms Designer (Visual Studio 2015) has become smarter, and parses the code for you (see the answer @Sergey Rufanov).
In it, editing should work without additional effort. Which, by the way, is very difficult in terms of implementation.
The remainder of the response applies to older versions of Visual Studio.
Not.
Decompilers recover the code - and only this is their task. They will not restore the source code of the application, they will only find the source code that will be compiled into the same (or approximately the same) file. Here is a discussion of the issue on the Reflector support forum.
They do not restore the internal file structure needed for Forms Editor, do not restore comments and names of internal variables, do not split classes into partial-parts, as the Windows Forms Editor wants.
You will have to figure out how the code, which Forms Editor requires, and arrange the decompiled code to this view manually. Look at how Stephen Cleary coped with the task , he describes what changes he made in the code.
Nobody said that reverse engineering is an easy task.
Yes of course. Virtually all current versions of existing decompilers normally restore forms, including the .Net Reflector you mentioned.
Source: https://ru.stackoverflow.com/questions/425670/
All Articles