Compile Xaml into Baml?

后端 未结 2 1353
后悔当初
后悔当初 2021-02-09 03:06

How can I convert a xaml to baml?

thanks

2条回答
  •  失恋的感觉
    2021-02-09 03:35

    There is a Reflector plug-in that loads assemblies containing BAML resources (e.g. localized resource assemblies) and shows the corresponding XAML: BamlViewer

    When you compile a WPF application in Visual Studio, all your XAML files are converted into BAML, and that BAML is then embedded as a resource into the final DLL or EXE assembly.

提交回复
热议问题