How to decompile WP8 assemblies

Today I had the need to decompile WP8 assemblies so I tried to load System.Windows.dll from

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhone\v8.0\System.Windows.dll

with Reflector but I found that all methods and implementation was empty!

ReflectorWP81[1]

So I started googling and I found How to decompile WP7 assemblies from Benjamin Roux. He was having my same issue but for WP7.

Thanks to his solution I was able to find the dump of WP8 on XDA Forum too on, well I think that if you mount the emulator virtual machine as drive you can even get it but I had my vm running so I decided to download the dump and I was able to find System.Windows.dll on WP8Dump\3\Windows\System32 now loading this assembly on Reflector did the trick! All methods and implementation are visible !

ReflectorWP826

Now I can try the right solution to my starting need: detect compression (end of scroll) of a ListBox but I will discuss this I an other article.

Hope it helps

 

Ultimi Post

Discalmer

Articles and content of this blog aren't and shouldn't be interpreted as professional advice or opinions. Author writes on a personal basis and as part of their own research, experimentation and knowledge. Opinions expressed aren't in any way attributable to professional affiliations / institutional thereof or to opinions that the author express as part of their roles / positions that may be quite different from that reported here.