I have a Windows Phone 8 application running on its emulator from Visual Studio 2012. I implemented the logic to be able to send push notifications for this application. When it comes to the code snippet below in the MainPage constructor, I get the exception indicated in the subject line:
In addition, the information below is issued with the exception of:
Access to push notifications requires the identifier ID_CAP_PUSH_NOTIFICATION, which must be defined in the manifest.
What could be wrong or missing that I get such an exception. Please note that I am running the VS 2012 environment as an administrator with full privileges.
Thanks!
Arash source share