缺少Microsoft.Data.Services.Client 5.6版在Azure网站网站、Services、Data、Microsoft

2023-09-02 01:46:15 作者:因为看清了所以看轻了

我最近想部署一个网站,在Windows Azure网站服务,它利用Azure存储。一旦部署,我收到以下错误从存储SDK,这似乎引用一个版本尚不存在装配的到来。我一直没能找到这个版本的DLL文件的任何地方。有什么建议?

  

无法加载文件或程序集Microsoft.Data.Services.Client,版本= 5.6.0.0,文化=中性公钥= 31bf3856ad364e35或它的某一个依赖。该系统找不到指定的文件。

解决方案

存储客户端库对本次大会的依赖,不幸的是它会自动当您通过的NuGet安装该库没有下载。您需要自己得到这个包。你可以从这里下载这个包:http://www.nuget.org/packages/Microsoft.Data.Services.Client/.

有关详细信息,请参阅从存储团队这个博客帖子的评论:http://blogs.msdn.com/b/windowsazurestorage/archive/2013/11/27/windows-azure-storage-release-introducing-cors-json-minute-metrics-and-more.aspx.

I've recently tried to deploy a website to the Windows Azure websites service which utilizes Azure Storage. Upon deployment, I received the following error coming from the Storage SDK, which seems to reference a version of an assembly that doesn't yet exist. I have not been able to find this version of the DLL file anywhere. Any suggestions?

Could not load file or assembly 'Microsoft.Data.Services.Client, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

解决方案

Storage client library has a dependency on this assembly and unfortunately it's not downloaded automatically when you install the library through Nuget. You would need to get this package yourself. You can download this package from here: http://www.nuget.org/packages/Microsoft.Data.Services.Client/.

For more information, please read the comments on this blog post from storage team: http://blogs.msdn.com/b/windowsazurestorage/archive/2013/11/27/windows-azure-storage-release-introducing-cors-json-minute-metrics-and-more.aspx.