问题
I am using the toast notification sample here:
http://code.msdn.microsoft.com/windowsapps/Toast-notifications-sample-52eeba29
The toast notifications appear when I select local machine for testing. When I select simulator, all I see is XML. My manifest has toast enabled. Am I missing any steps?

回答1:
Toast notifications (and other APIs, including those related to tile updates and push notifications) do not work in the simulator. For testing and debugging, use "Local Machine" as the deployment target.
来源:https://stackoverflow.com/questions/12571173/toast-notification-fails-simulator