[Question] Extract BamlRecordReader feasability
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
Hi, I contribute to the NativeAOT-LLVM project which is a NAOT compiler for LLVM and WebAssembly. I am currently bringing up a WPF applicaation in the browser using Avalonia's XPF bridge and have a question. As you may know NAOT is an AOT compiler that uses roots to establish a dependency tree of required types and methods that need compiling. WPF presents a challenge in that a some types/properties (get/set methods) may only be used in Xaml or Baml. So it would be advantageous from the goal of gathering dependencies to read the Baml resources and root the necessary types and methods. To that end I was looking at BamlRecordReader.cs and wondering if it could be extracted from the PresentationFramework assembly. Most things are possible, but is this going to be really hard do you think?
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.