Activity overview
Latest activity by jericsmith
I'm using the standalone reflector application, but as long as you ultimately end up with the source, that's ok.
Yes, there are a lot of errors. I've corrected as many as 2000+ in a single project; however, it's not as bad as it seems. Most of the errors can be fixed several at a time. For example:
do a global "current project" replace of get_Value() to Value. Many others similar to this will exist as well, like get_Attributes(), get_Count(), etc.
method calls use literal values for an expected enumeration; CommandType.StoredProcedure is passed as the literal value 4, but you can replace enough of the function call to make sure you are replacing the correct parameter. For example, I was able to correctly search for
this.ExecuteDataset(transaction, 4, spName,
and replace with
this.ExecuteDataset(transaction, CommandType.StoredProcedure, spName,
It's a bit of work, but not as bad as it seems when you first try to compile.
Again, if there is an easier way, I would love to hear about it, but so far this method has served my purpose, albeit with tedium. / comments
I'm using the standalone reflector application, but as long as you ultimately end up with the source, that's ok.
Yes, there are a lot of errors. I've corrected as many as 2000+ in a single project...
Bart probably has a better solution. I'm a newbie with this, but I am in the process of decompiling some assemblies that are internal to my company but inaccessible to me as source. This is the process that has been working for me:
1. From Reflector, I select an assembly.
2. I select File|Export and save the disassembled project to a known location.
3. I clean up the disassembled source code, because Reflector doesn't do a compilable disassembly (so far anyway). I have to go in and change method calls back to property calls and other little things like that.
4. Once the project is clean and compilable, I import it into my solution.
5. I change my project references from the previous assembly to my newly disassembled project.
6. Voila!
If there is an easier way, somebody please fill me in. / comments
Bart probably has a better solution. I'm a newbie with this, but I am in the process of decompiling some assemblies that are internal to my company but inaccessible to me as source. This is the p...
Did you check for and clear your old pdb files from your bin folder and/or referenced assemblies' folders? / comments
Did you check for and clear your old pdb files from your bin folder and/or referenced assemblies' folders?