BAML Decompiler / Viewer
-
02-07-2019 - |
Question
Could anyone recommend a good BAML Decompiler / Viewer besides BAML Viewer plugin for Reflector, which doesn't handle path geometry/data?
Solution
You might like to have another look at the BAML addin for reflector as it's been recently updated by Andrew Smith. Have a look at his at blog post you'll note that he has fixed the issue with path data.
OTHER TIPS
You can try this one by Cristian Ricciolo Civera.
I did not want to use its ClickOnce installer, but the CodePlex site provides a zip file for download.
I had to place Ricciolo.StylesExplorer.exe
and Ricciolo.StylesExplorer.MarkupReflection.dll
into GAC to make it work. I guess that is what the installation does in the first place.
BAML source can be viewed in
ILSpy.
Just load your compiled managed code, find and click on the *.baml file you will see the source.
Haven't tried it myself yet but worth a try