FSystem
FSystem

Reputation: 83

Getting calendar appointments working on WP7 but not WP8

When I run codes of this example in windows phone 7 project it's ok but when I test it in a windows phone 8 project it gets exception at this line:

appts.SearchAsync(start, end, 20, "Appointments Test #1");

I can't understand what's the reason???

Upvotes: 0

Views: 94

Answers (1)

Ku6opr
Ku6opr

Reputation: 8126

You need to add related capablity to use appointments: copy and paste <Capability Name="ID_CAP_APPOINTMENTS" /> to <Capabilities> section in WMAppManifest.xml file

Upvotes: 1

Related Questions