You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
C++/WinRT: Labs 0.8.0-alpha requires manual XamlToolkit.Labs.WinUI.h include in consumer project #24
Fails unless the Labs projection is manually included:
XamlToolkit.Labs.WinUI.Native 0.8.0-alpha
Expected behavior
Updating from 0.7.0-alpha to 0.8.0-alpha should not require the consumer project to manually add:
#include<winrt/XamlToolkit.Labs.WinUI.h>
just to compile the generated XamlMetaDataProvider code.
It would be useful to know whether this is a packaging/regression issue in 0.8.0-alpha or whether an additional consumer-side configuration is now required.
changed the title [-][C++/WinRT] Labs 0.8.0-alpha requires manual XamlToolkit.Labs.WinUI projection include in consumer project[/-][+]C++/WinRT: Labs 0.8.0-alpha requires manual XamlToolkit.Labs.WinUI.h include in consumer project[/+]on Sep 21, 2026
I believe this is more likely an issue with WinUI itself. I've also encountered situations where I needed to manually add header includes in my own projects.
You can try the new 0.9.0 release and see if the issue still occurs.
One thing worth noting is that MarkdownTextBlock has moved to a new repository: XamlToolkit.WinUI.Markdown. I would also recommend using the newer MarkdownView, which offers a more complete set of features and is the direction I recommend going forward.
Activity
[-][C++/WinRT] Labs 0.8.0-alpha requires manual XamlToolkit.Labs.WinUI projection include in consumer project[/-][+]C++/WinRT: Labs 0.8.0-alpha requires manual XamlToolkit.Labs.WinUI.h include in consumer project[/+]lgztx96 commentedon Nov 30, 2026
I believe this is more likely an issue with WinUI itself. I've also encountered situations where I needed to manually add header includes in my own projects.
You can try the new 0.9.0 release and see if the issue still occurs.
One thing worth noting is that MarkdownTextBlock has moved to a new repository: XamlToolkit.WinUI.Markdown. I would also recommend using the newer MarkdownView, which offers a more complete set of features and is the direction I recommend going forward.
hoshiizumiya commentedon Nov 30, 2026
Same with microsoft/microsoft-ui-xaml#11835