Comments
1 comment
-
Hi and thanks for your post!
The export source code option (https://documentation.red-gate.com/disp ... ource+code) can provide a helpful start when you've lost source code and need to rebuild, but the intended purposes for .NET Reflector are for decompiling and debugging, and so the code regeneration is not perfect and you may unfortunately find a number of compile errors in the exported code.
Please note though--if you are seeing many invalid characters similar to "<>c__DisplayClass5 class2", this is due to using pdb symbols for compiler generated code. You can avoid these by unchecking the "Show PDB symbols" option under Tools>Options>Disassembler and then exporting again--this allows Reflector create new valid names for those variables.
For any other compile errors though, you'll unfortunately have to manually edit the code as needed. So sorry to not have a better answer at the moment!
Add comment
Please sign in to leave a comment.
If anybody has a good tutorial link that will actually allow me to decompile assembly into a real working project please let me know... Starting to seem as if this net reflector isn't what it says it is.
Every time I decompile and debug files go missing with millions of errors LOL.