icsharpcode / AvaloniaILSpy

Avalonia-based .NET Decompiler (port of ILSpy)
1.52k stars 171 forks source link

How to export "axaml" file in avalonia ilspy? #70

Open RickyYCheng opened 3 years ago

RickyYCheng commented 3 years ago

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) :)

christophwille commented 3 years ago

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).

RickyYCheng commented 3 years ago

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.

RickyYCheng commented 3 years ago

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

unofficialdev commented 2 years ago

I'm looking forward to this too