WindowsAppSDK
WindowsAppSDK copied to clipboard
Microsoft.UI.Xaml.Controls.TeachingTip don't work from unpackaged apps
Describe the bug
<TeachingTip
x:Name="MessageTip"
Title="info show:"
CloseButtonContent="OK"
IsLightDismissEnabled="True"
PlacementMargin="20"
PreferredPlacement="Auto"
Subtitle="json error!" />
cpp:
void TabContentPage::Flush_Click(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::RoutedEventArgs const& e) {
MessageTip().IsOpen(true);
}
cpp winrt error: WinRT originate error - 0x80073D54 : 'The process has no package identity.'。 winrt::hresult_error, at memory location 0x00000075D44FDDE0 。
I test the .net winui3 unpackaged apps is natural
Steps to reproduce the bug
...
Expected behavior
No response
Screenshots
No response
NuGet package version
1.1.5
Packaging type
unpackaged
Windows version
windows 10 21H2
IDE
vs2022
Additional context
cpp winui3