WinUI 3 - Compile XAML to BAML file using msbuild

Jone Selas 81 Reputation points
2022-07-12T10:21:10.677+00:00

Compiling XAML to BAML file is happening in WPF application using MSBuild.
But trying the same in WinUI application I am not getting the BAML file in obj/Debug folder.

Is there any restriction/alternate way for WinUI application to create BAML file using MSBuild?

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
725 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,001 questions
{count} votes