StartupTask class is not recognized

好久不见. 提交于 2019-12-20 06:17:34

问题


I'm trying to get my Centennial application to autostart on logon. According to this post that can be done. But then to disable it programmatically I'd need to use the Windows.ApplicationModel.StartupTask class and Visual Studio refuses to recognize it. So how is that class used?


回答1:


You need to add a reference to the Desktop Extension SDK.



来源:https://stackoverflow.com/questions/45849937/startuptask-class-is-not-recognized

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!