I’ve made a few updates to the PowerCommands for Reflector project.
The downloads page is here:http://powercommands.codeplex.com/releases/view/32414
I fixed a few small bugs, added some functionality to the existing Open Zip command and added 4 new commands. Here’s a quick summary of the changes (minus the bug fixes):
Extended the Open Zip Command
First change was to allow xap files to also be opened. This means you can now open a xap file by going to the File –> Open Zip menu item, click the Browse… button and then select the xap file extension in the filter dropdown in the lower right of the open file dialog.
Second change was to wire up a drag/drop event handler to the assembly browser. This means you can now drag a file to the assembly browser (zip or xap) and the Opened Zip Assembly dialog will open allowing you to choose which assemblies in the compressed file you want to add.
Added Red Gate Forum and Stackoverflow Tag Commands
I borrowed this idea from VS where on the help menu you can go to the MSDN forums. Since I check both the Red Gate Forum and the Stackoverflow tag for Reflector a few times a week, I thought it might be a nice addition … plus I’m not too sure people know about them.
Added Open Xaml in VS2010 and Open Xaml in Notepad Commands
I’ve wanted to add stuff to the context menu in the resource viewer/disassembler for awhile but have found the code needed to do so too much of a hack for me. Last night as I was going to sleep, it finally hit me that I could just create a submenu off the resource context menu to accomplish what I wanted to. These commands extract a xaml file that has been stuck into an embedded resource. My first attempt was the Open Xaml in VS 2010 … then I found it a bit annoying due to the designer – so I created the Open Xaml in Notepad, which is much faster and all I really needed.