积极答复者
WindowsAzure.ServiceBus NuGet 包里没有Notifications类

问题
-
http://www.windowsazure.cn/zh-cn/documentation/articles/notification-hubs-baidu-get-started/最下面写到
-
通过使用 WindowsAzure.ServiceBus NuGet 包添加对 Azure 服务总线 SDK 的引用。在 Visual Studio 主菜单中,依次单击“工具”、“库程序包管理器”和“程序包管理器控制台”。然后,在控制台窗口中键入以下内容并按 Enter:
Install-Package WindowsAzure.ServiceBus
-
打开文件 Program.cs 并添加以下 using 语句:
using Microsoft.ServiceBus.Notifications;当我添加这个语句有报错,说是没有这个类,怎么回事呢
-
-
答案
-
Hi,
目前你可以尝试下:Install-Package Microsoft.Azure.NotificationHubs 然后引用using Microsoft.Azure.NotificationHubs;来代替 (https://www.nuget.org/packages/Microsoft.Azure.NotificationHubs/)。造成这个问题的原因可能是因为文档更新不及时, 我会report到相关的团队,对此造成的困扰深感抱歉,也谢谢你在我们论坛提出这个问题。
Best Regards,
Jambor
如果您想进一步了解Windows Azure, Windows Azure 官网欢迎您的访问
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已编辑 Jambor yaoMicrosoft employee, Moderator 2015年10月15日 8:47
- 已标记为答案 Michael Lee2Microsoft employee, Moderator 2015年10月15日 10:26
-
Hi Lingli_w,
经过和相关团队核实,这篇文章的部分信息的确已经过时,是需要更新的,下面是我得到的回复:
I need to update that topic and a couple others to use Microsoft.Azure.NotificationHubs. Notification Hubs have
been taken out of the Service Bus assembly<o:p></o:p>文章的更新需要一定的时间,对此造成的不便,还请谅解。
Best Regards,
Jambor如果您想进一步了解Windows Azure, Windows Azure 官网欢迎您的访问
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已标记为答案 Lingli_w 2015年10月21日 2:43
全部回复
-
Hi,
目前你可以尝试下:Install-Package Microsoft.Azure.NotificationHubs 然后引用using Microsoft.Azure.NotificationHubs;来代替 (https://www.nuget.org/packages/Microsoft.Azure.NotificationHubs/)。造成这个问题的原因可能是因为文档更新不及时, 我会report到相关的团队,对此造成的困扰深感抱歉,也谢谢你在我们论坛提出这个问题。
Best Regards,
Jambor
如果您想进一步了解Windows Azure, Windows Azure 官网欢迎您的访问
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已编辑 Jambor yaoMicrosoft employee, Moderator 2015年10月15日 8:47
- 已标记为答案 Michael Lee2Microsoft employee, Moderator 2015年10月15日 10:26
-
Hi Lingli_w,
经过和相关团队核实,这篇文章的部分信息的确已经过时,是需要更新的,下面是我得到的回复:
I need to update that topic and a couple others to use Microsoft.Azure.NotificationHubs. Notification Hubs have
been taken out of the Service Bus assembly<o:p></o:p>文章的更新需要一定的时间,对此造成的不便,还请谅解。
Best Regards,
Jambor如果您想进一步了解Windows Azure, Windows Azure 官网欢迎您的访问
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已标记为答案 Lingli_w 2015年10月21日 2:43