- 1 year ago
How to run Windows App SDK packaged C# app at startup?
To run a Windows App SDK packaged C# app at startup, you can use the following steps:
Open the Start menu and search for "Task Scheduler".
Open Task Scheduler and click on "Create Basic Task" on the right-hand side.
Give your task a name and a description and click "Next".
Choose the trigger for the task. In this case, you want the task to start when the user logs on, so choose "When I log on" and click "Next".
Choose the action for the task. In this case, you want to start your Windows App SDK packaged C# app, so choose "Start a program" and click "Next".
Browse to the location of the executable file for your Windows App SDK packaged C# app and select it. Then click "Next".
Review the settings for the task and click "Finish" to create it.
Your Windows App SDK packaged C# app will now start automatically when you log on to Windows.