无法在Windows Phone 8应用程序中安装windows azure SDK

时间:2014-01-23 06:36:52

标签: azure windows-phone-8 nuget azure-storage

我无法在nuget的Windows手机应用程序上安装windows azure SDK。我收到以下消息Could not install package 'Microsoft.WindowsAzure.ConfigurationManager 2.0.3'. You are trying to install this package into a project that targets 'WindowsPhone,Version=v8.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

我见过windows azure storage和windows phone http://tapanila.net/windows-azure-storage-sdk-now-supports-windows-phone-8/

的教程

1 个答案:

答案 0 :(得分:4)

您正在尝试为完整的.Net应用程序安装NuGet包。对于Windows 8 / Windows Phone 8应用程序,您需要安装另一个程序包Windows Azure Storage 3.0.2-preview,您可以使用以下命令通过Nuget命令行安装该程序包:

Install-Package WindowsAzure.Storage-Preview

或者在此处查看有关安装此软件包的更多说明:http://www.windowsazure.com/en-us/documentation/articles/mobile-services-windows-phone-upload-data-blob-storage/(向下滚动到标题为Install the Storage client for Windows Store apps的部分)。