无法识别 StartupTask 类 [英] StartupTask class is not recognized

查看:30
本文介绍了无法识别 StartupTask 类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试让我的 Centennial 应用程序在登录时自动启动.根据

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?

解决方案

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

这篇关于无法识别 StartupTask 类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆