Azure SDK 1.8(2012 年 10 月)中的 CloudDrive
在哪里?
在 Azure SDK 1.8 中,StorageClient
命名空间不再存在。这是包含 CloudDrive
的命名空间。
我知道 StorageClient
命名空间在 Azure SDK 1.8 中已重命名为 Storage
,但我找不到 CloudDrive
此命名空间中的类。
它去哪儿了?
最佳答案
1.8 SDK 中未更新云驱动器访问权限。请参阅此处的讨论:http://blogs.msdn.com/b/windowsazurestorage/archive/2012/11/01/known-issues-for-windows-azure-storage-client-library-2-0-for-net-and-windows-runtime.aspx
来自该链接的引用:
clouddrive has not been updated to use the latest version yet and hence it does not support the 2.0 client library (which uses 2012-02-12 REST version). However, you can use both libraries together and continue using the older client lib for use with clouddrive (and diagnostics) but use the newer 2.0 lib for everything else in your app.
根据个人经验,如果您确实在同一项目中并行使用来自不同 SDK 的 Azure 库,请注意版本冲突,尤其是 Microsoft.WindowsAzure.Configuration
dll - 并且注意无论您是否愿意,NuGet 都会有助于升级您的软件包。
关于Azure SDK 1.8 云驱动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13769047/