Comments
Sort by recent activity
I could create an addin that would do it ... with a few restrictions:
1. Would need to have ilasm installed on the machine
2. The IL would need to be a valid assembly il file (ie. it would need to be able to compile).
The addin i'm thinking about would basically ask you to browse to your il file, then compile it to a directory under My Documents and then load that compiled assembly into Reflector.
Do the restrictions above match your situation? If so, let me know I could get you the addin pretty quickly (it would be added as another command in the http://powercommands.codeplex.com addin). / comments
I could create an addin that would do it ... with a few restrictions:
1. Would need to have ilasm installed on the machine
2. The IL would need to be a valid assembly il file (ie. it would need t...
Sometimes (especially when winforms are involved) assemblies that you export or save via the FileDisassembler addin are not ready to compile.
Your only resolve is going to be looking at your compile errors and fix them 1 by 1. Most common issues will be:
1. Enums replaced with Constants
2. Invalid variable names
3. Partial classes all merged (the case for Forms meaning the designer usually won't work) / comments
Sometimes (especially when winforms are involved) assemblies that you export or save via the FileDisassembler addin are not ready to compile.
Your only resolve is going to be looking at your compil...
The first place I would start to see if you are missing something is to open the Reflexil.dll in Reflector and look at the references to see if you have all of them.
The Replace All With Code uses the ICSharpCode libraries. / comments
The first place I would start to see if you are missing something is to open the Reflexil.dll in Reflector and look at the references to see if you have all of them.
The Replace All With Code uses ...
You might be running into problems due to the way Reflector only seems to persist any changes (ie. adding/removing assemblies) at the time it closes/is closing. So if something is happening to crash it while loading or unloading the cfg file will seem go back to the previous settings (due to the persisting not completing). Sometimes on a crash it will take the cfg file back to the default settings (creates a brand new cfg file). / comments
You might be running into problems due to the way Reflector only seems to persist any changes (ie. adding/removing assemblies) at the time it closes/is closing. So if something is happening to cra...
This is a common problem I run into when I'm debugging an addin ... that is crashing. Do you have any addins installed? Are you getting the popup crash dialog to send information to Red-Gate or is it just closing? / comments
This is a common problem I run into when I'm debugging an addin ... that is crashing. Do you have any addins installed? Are you getting the popup crash dialog to send information to Red-Gate or i...
The differences you are noting really are just part of the decompiling problem.
Reflector is working with the IL backwards, so it is trying to find patterns that make sense ... often times this introduces new temp variable names (those ugly names you refer to are just temps that were not originally in your code) and loops morphing in to more simple do/while loops ... in IL it is very hard to determine the difference between a for and a while loop since they get compiled to conditionals and branch (goto) code. / comments
The differences you are noting really are just part of the decompiling problem.
Reflector is working with the IL backwards, so it is trying to find patterns that make sense ... often times this int...
If you paste this line in your browser it should open Reflector to the FolderBrowserDialog:
[url=code://System.Windows.Forms:2.0.0.0:b77a5c561934e089/System.Windows.Forms.FolderBrowserDialog]code://System.Windows.Forms:2.0.0.0:b77 ... wserDialog[/url]
You should also be able to locate it using the search (View->Search) and type in "FolderBrowserDialog".
If you have the Compact framwork dll's loaded and not the full version, you won't be able to find it - so you might want to verify which version of the System.Windows.Forms.dll you are looking at. / comments
If you paste this line in your browser it should open Reflector to the FolderBrowserDialog:
[url=code://System.Windows.Forms:2.0.0.0:b77a5c561934e089/System.Windows.Forms.FolderBrowserDialog]code:/...
Usually when it is "my code" I'll use Visual Studio and search all files (or textpad).
In Reflector, if you have all your assemblies in the assembly tree, then try the following:
1. do a search for MessageBox.
2. Once you go to the declaration of that class in the System.Windows.MessageBox, you want to right click on the name in the tree and choose "Analyze".
3. In the Analyzer window, click on the plus by the type name, then the "Used By" text - this will show you of all the assemblies loaded what code uses the MessageBox class.
There is also an addin that may work better (I forget - you'll to try it out) called "CodeSearch" on the addins site: http://www.codeplex.com/reflectoraddins / comments
Usually when it is "my code" I'll use Visual Studio and search all files (or textpad).
In Reflector, if you have all your assemblies in the assembly tree, then try the following:
1. do a search fo...
I currently have an addin working for the Forms problems, but still working on the dataset problems. However there are still several imports/using statements you may have to work out (minor thing on the scale of it). The designer now works in most cases.
Email me and i'll send you a link to the addin. I don't want to post the link on this group because it isn't complete yet - but it would help you if you are in a hurry.
my email is haleyjason [at] hotmail [dot] com / comments
I currently have an addin working for the Forms problems, but still working on the dataset problems. However there are still several imports/using statements you may have to work out (minor thing ...