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

Winui 3 background task not run in x64 debug #9391

Closed
daniDevKr opened this issue Mar 3, 2024 · 4 comments
Closed

Winui 3 background task not run in x64 debug #9391

daniDevKr opened this issue Mar 3, 2024 · 4 comments
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners

Comments

@daniDevKr
Copy link

daniDevKr commented Mar 3, 2024

Describe the bug

When i try to start my background task from visual studio 2022 in x64 debug, Windows 11 event viewer contain this log:
Failed to trigger background task with entry point Samples.Tasks.ExampleToastTask and name ExampleToastTask. Error code: 0x80073CFC.
(The debug working in x86 debug).

Steps to reproduce the bug

  1. I run the application debug for x64 patform in visual studio 2022
  2. I manually run the task from visual studio UI

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.5.0: 1.5.240227000

Windows version

Windows 11 (23H2): Build 22631

Additional context

Repo url: https://github.com/jhonToni/Winui3BackgroudWorkerBug

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

Problem solved. The task project was bad configured for the x64 architecture.

@microsoft-github-policy-service microsoft-github-policy-service bot added needs-triage Issue needs to be triaged by the area owners and removed needs-triage Issue needs to be triaged by the area owners labels Mar 4, 2024
@parko65
Copy link

parko65 commented Mar 5, 2024

Problem solved. The task project was bad configured for the x64 architecture.

I'm trying the code from your repo? Is it in a working state?

@daniDevKr
Copy link
Author

@parko65, the code in the repo was updated with correct configuration.

@mcash95
Copy link

mcash95 commented Jan 20, 2025

having the same issue, updated .csproj file already. im in .net9 however, any changes required?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners
Projects
None yet
Development

No branches or pull requests

3 participants