I was close to become mad trying to make the push notificatons service works, when I have finally discover why I was always getting a "NotificationChannelOpenException".

 

Even if you follow every steps of the lab, you will get this exception. If you open the project from the lab sources, you will not get this exception.

So why do we have this exception ?

  • Open the WMAppManifest.xml file in the Properties folder of your application
  • In the App section, look at the Publisher attribute
  • If the Publisher attribute is empty, fill it with any string
  • Then restart you application and should work

I hope this will help other folks!