I want to run my packaged c# app to start at log-in. Under the guidance of this post, I configured Package.appxmanifest and added relevant code to my app. However, when users log in, the splash screen appears but then the application fails to launch.
The post mentions one thing:
If your app is enabled for startup activation, you should handle this case in your App class by overriding the OnActivated method.
However, WASDK app doesn't have an OnActivated
method. I guess the problem lies here and I wonder how to correctly configure my code to fix this issue.
Appreciate any help.