简体   繁体   English

安装包:无法找到包'Phone.Notifications.BasePage。'

[英]Install-Package : Unable to find package 'Phone.Notifications.BasePage.'

I was trying to implement Push Notification.I was trying based on this Link ( http://www.wadewegner.com/2011/11/adding-push-notification-support-to-your-windows-phone-application/ ) in VisualStudio Express 2012 for windows phone. 我正在尝试实施推送通知。我正在尝试基于此链接( http://www.wadewegner.com/2011/11/adding-push-notification-support-to-your-windows-phone-application/ )适用于Windows Phone的VisualStudio Express 2012。 When I was installing Package 'Phone.Notifications.BasePage'. 我正在安装Package'Phone.Notifications.BasePage'。 Following error was raising.How can i overcome this. 以下错误正在提高。我怎么能克服这一点。

在此输入图像描述

And also can anybody please tell me can I add Windows Azure Project.(ASP.Net MVC3 Webrole)to my exiting solution.Which Azure Package wil be supported in VS Express 2012 for windows phone. 并且任何人都可以告诉我,我可以将Windows Azure Project。(ASP.Net MVC3 Webrole)添加到我现有的解决方案中。在VS Express 2012 for Windows phone中将支持哪些Azure Package。 Based on this link( https://msdn.microsoft.com/en-us/library/azure/ff683673.aspx ) I am thinking WindowsAzurePackage will not be supported in VS Express 2012 for windows phone.I dont have any idea on this(Windows Azure Packages)PUShNotifications.I am Seeking for some help. 基于这个链接( https://msdn.microsoft.com/en-us/library/azure/ff683673.aspx )我认为VSA 2012 for Windows phone将不支持WindowsAzurePackage。我对此没有任何想法(Windows Azure软件包)PUShNotifications.I正在寻求帮助。

ManyThanks in Advance... 提前谢谢了...

Adds a reference to the Azure Service Bus SDK with the WindowsAzure.ServiceBus NuGet package. 使用WindowsAzure.ServiceBus NuGet包添加对Azure Service Bus SDK的引用。

This is for 2013 but I am sure it will work in 2012 这是2013年,但我相信它将在2012年有效

Look at the end of the following documentation on azures web site 请查看azures网站上以下文档的末尾

http://azure.microsoft.com/en-us/documentation/articles/notification-hubs-windows-store-dotnet-get-started/ http://azure.microsoft.com/en-us/documentation/articles/notification-hubs-windows-store-dotnet-get-started/

This will only work communicating from your MVC project to azure. 这只能用于从MVC项目到azure的通信。 Not communicating from your phone directly to the notification hub. 未通过手机直接与通知中心通信。 You will have to add a rest api to your MVC application and then use RestSharp to send messages to your MVC application from the phone. 您必须向MVC应用程序添加一个rest api,然后使用RestSharp通过手机向您的MVC应用程序发送消息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM