ispiro
ispiro

Reputation: 27653

StartupTask class is not recognized

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?

Upvotes: 1

Views: 245

Answers (1)

Stefan Wick  MSFT
Stefan Wick MSFT

Reputation: 13850

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

enter image description here

Upvotes: 1

Related Questions