Disaster Recovery - Reverse engineer XAML/BAML
Due to a disaster we have lost access to our source control and need to reverse engineer some XAML from the binaries. Ive looked around and found a couple of tools that are supposed to do this but they dont work.
Does anyone have a tool or know of one which works with .Net 4 WPF?
Th开发者_如何学JAVAanks
Hey, if you still need this, may I suggest trying ILSpy. It is a new open source replacement for Redgate's .NET Reflector, and has built in support for BAML to XAML decompilation.
It only runs under .NET 4, and uses .NET 4's own BAML reading code, so I'd be shocked if it had issues with .NET 4 WPF BAML. That said, I've never used it for this purpose, so I have no idea how well it works, but there no harm trying.
I was able to recover XAML files using dotPeek. Import .dll & look for resources folder, that's it. ILSpy as suggested also works well.
精彩评论