icsharpcode/AvaloniaILSpy

How to export "axaml" file in avalonia ilspy?

RickyYCheng opened this issue · 4 comments

I lost the source code of one of my small project, so i decided to decompiled the dll.
shot
So how to export or see the xaml code in the project? (mainwindowview.axaml)
:)

ILSpy has a decompiler for BAML - maybe something similar would need to be built for axaml (given how few Avalonia apps are out there this is really a niche problem).

ILSpy has a decompiler for BAML - maybe something similar would need to be built for axaml (given how few Avalonia apps are out there this is really a niche problem).

Thank you! :D When searching the problem on bing, everyone said that you should have a look on baml file, but indeed, there's no baml file of axaml in avalonia. AvaloniaUI is rarely used by people (compared to WPF), so it might be difficult to find a answer to this problem.

Obviously, this file contains the full message of our axaml file. So if we can transform this into a axaml file, then we dont need the baml file like what we did in wpf.
quick

I'm looking forward to this too