Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.UI.Xaml.Controls.TeachingTip don't work from unpackaged apps #7763

Closed
bizehao opened this issue Sep 17, 2022 · 1 comment
Closed
Labels
area-Unpackaged bug Something isn't working product-winui3 WinUI 3 issues team-Markup Issue for the Markup team

Comments

@bizehao
Copy link

bizehao commented Sep 17, 2022

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

@gabbybilka gabbybilka transferred this issue from microsoft/WindowsAppSDK Sep 26, 2022
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Sep 26, 2022
@pratikone pratikone added team-Reach Issue for the Reach team product-winui3 WinUI 3 issues area-Unpackaged bug Something isn't working and removed needs-triage Issue needs to be triaged by the area owners labels Oct 11, 2022
@bpulliam bpulliam added team-Markup Issue for the Markup team and removed team-Reach Issue for the Reach team labels Jul 3, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jul 3, 2023
@bpulliam bpulliam removed the needs-triage Issue needs to be triaged by the area owners label Jul 7, 2023
@Scottj1s
Copy link
Member

@bizehao Unfortunately, like a number of other APIs, the TeachingTip requires package identity and is not supported in unpackaged apps. If you require this feature, I'd suggest making your app packaged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Unpackaged bug Something isn't working product-winui3 WinUI 3 issues team-Markup Issue for the Markup team
Projects
None yet
Development

No branches or pull requests

4 participants