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
To achieve my requirement, added the background tasks under the declaration tab in the Package.appmanifest.
After adding the background tasks and tried to build the solution but unfortunately, I am getting the below exception.
To fix the above issue one of the technical forum suggested that adding an audio task will get resolved.
Adding an audio task to the package.manifest file, build issue got resolved, But when I launch the application getting the below exception
FYI :
Visual Studio version: Visual Studio Enterprise 2019 Preview - 16.7.30128.36
.Net SDK : Microsoft .NET SDK 5.0.100-preview.5.20279.10(x86)
WinUIVersion : 3.0.0-preview2.200713.0
csproject:
Steps to reproduce the bug
Steps to reproduce the behavior:
Create a new Blank app packaged,(WINUI in Desktop)
Add a new class with inherit from IBackgroundTask
Add background-tasks to the package.Manifest under declaration tab.
Could you please guide/help me on how to add background tasks in winUI desktop application without exceptions? and let me know if you need any other details from my end.
Thanks & regards,
Moueen Shaik
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.
Describe the bug
I am trying to add BackgroundTasks which is a type of Windows.ApplicationModel.Background.IBackgroundTask as per the below Microsoft doc in WINUI
https://docs.microsoft.com/en-us/windows/uwp/launch-resume/create-and-register-a-background-task
To achieve my requirement, added the background tasks under the declaration tab in the Package.appmanifest.
After adding the background tasks and tried to build the solution but unfortunately, I am getting the below exception.
To fix the above issue one of the technical forum suggested that adding an audio task will get resolved.
Adding an audio task to the package.manifest file, build issue got resolved, But when I launch the application getting the below exception
FYI :
Visual Studio version: Visual Studio Enterprise 2019 Preview - 16.7.30128.36
.Net SDK : Microsoft .NET SDK 5.0.100-preview.5.20279.10(x86)
WinUIVersion : 3.0.0-preview2.200713.0
csproject:
Steps to reproduce the bug
Steps to reproduce the behavior:
Expected behavior
Application should build/run
Version Info
NuGet package version:
[Microsoft.WinUI 3.0.0-preview2.200713.0]
Windows app type:
Could you please guide/help me on how to add background tasks in winUI desktop application without exceptions? and let me know if you need any other details from my end.
Thanks & regards,
Moueen Shaik
The text was updated successfully, but these errors were encountered: