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

CPP TeachingTip Crash。 #9599

Open
FF69B3 opened this issue May 1, 2024 · 1 comment
Open

CPP TeachingTip Crash。 #9599

FF69B3 opened this issue May 1, 2024 · 1 comment
Labels
area-TeachingTip bug Something isn't working team-Controls Issue for the Controls team

Comments

@FF69B3
Copy link

FF69B3 commented May 1, 2024

Describe the bug

When running in debugging mode in VS, a crash occurs with the following crash message:

0x00007FF94962543C (KernelBase.dll)处(位于 MyGameApp.exe 中)引发的异常: WinRT originate error - 0x80073D54 : '该进程没有程序包标识符。'。

0x00007FF94962543C (KernelBase.dll)处(位于 MyGameApp.exe 中)引发的异常: WinRT originate error - 0x80073D54 : 'The process does not have a package identifier。'。

But after running the build program, it can work.

Crash only in VS.

Steps to reproduce the bug

xaml:

<Button Content="Show TeachingTip" Click="TestButtonClick1" />

<TeachingTip x:Name="ToggleThemeTeachingTip1"
    Target="{x:Bind ThemeButton}"
    Title="Change themes without hassle"
    Subtitle="It's easier than ever to see control samples in both light and dark theme!">
    <TeachingTip.IconSource>
        <SymbolIconSource Symbol="Refresh" />
    </TeachingTip.IconSource>
</TeachingTip>

Cpp Code:

ButtonClick: ToggleThemeTeachingTip1().IsOpen(true); -> Crash

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.5.2: 1.5.240404000

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@FF69B3 FF69B3 added the bug Something isn't working label May 1, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label May 1, 2024
Copy link

github-actions bot commented May 1, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@FF69B3 FF69B3 closed this as completed May 1, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the needs-triage Issue needs to be triaged by the area owners label May 1, 2024
@FF69B3 FF69B3 reopened this May 1, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label May 1, 2024
@bpulliam bpulliam added area-TeachingTip team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TeachingTip bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants