none
Storage Library for Windows Store Apps

    Question

  • I can't get the new version working with Windows Store Apps, is it still not supported?
    Wednesday, October 31, 2012 5:53 PM

All replies

  • Hi, please have a look at .NET for Windows Store apps overview.

    >> In some cases, a type that you used in a .NET Framework desktop app doesn't exist within the .NET for Windows Store apps. Instead, you can use a type from the Windows Runtime. For example, the System.IO.IsolatedStorage.IsolatedStorageSettings class isn't included in the .NET for Windows Store apps, but the Windows.Storage.ApplicationDataContainer class provides similar behavior for storing app settings. Examples of common changes you might have to make are included in the section Converting your existing .NET Framework code.

    Best Regards

    Thursday, November 1, 2012 7:39 AM
    Moderator
  • Sorry, I should have been more clear.

    I was referring to the Azure Storage Library:
    http://blogs.msdn.com/b/windowsazurestorage/archive/2012/10/29/introducing-windows-azure-storage-client-library-2-0-for-net-and-windows-runtime.aspx

    Says it's for Windows RunTime but I can't get it to work.

    Thursday, November 1, 2012 1:27 PM
  • Did you try to connect to real Azure Storage Account?

    I have issues connecting to Development storage with v2.0 libraries. Getting 400 Bad Request error. I could connect to real Azure Storage without any issues.

     

     

    Thursday, November 1, 2012 2:31 PM
  • I can't even add the add the package through NuGet.

    Trying to add: Windows Azure Storage

    And I get this error:

    Could not install package 'Microsoft.WindowsAzure.ConfigurationManager 1.7.0.3'. You are trying to install this package into a project that targets '.NETCore,Version=v4.5', but the package does not contain any assembly references that are compatible with that framework. For more information, contact the package author.

    Thursday, November 1, 2012 2:33 PM
  • Hi, can you change your project target framework to .NET Framework 4.0? Since I can install the latest Storage Library in my side.

    PM> Install-Package WindowsAzure.Storage

    Attempting to resolve dependency 'Microsoft.WindowsAzure.ConfigurationManager (≥ 1.7.0.0)'.

    Attempting to resolve dependency 'Microsoft.Data.OData (≥ 5.0.2)'.

    Attempting to resolve dependency 'Microsoft.Data.Edm (= 5.0.2)'.

    Attempting to resolve dependency 'System.Spatial (= 5.0.2)'.

    You are downloading Microsoft.WindowsAzure.ConfigurationManager from Microsoft, the license agreement to which is available at http://go.microsoft.com/fwlink/?LinkID=235167. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.

    Successfully installed 'Microsoft.WindowsAzure.ConfigurationManager 1.7.0.3'.

    You are downloading Microsoft.Data.Edm from Microsoft Corporation, the license agreement to which is available at http://go.microsoft.com/?linkid=9809688. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.

    Successfully installed 'Microsoft.Data.Edm 5.0.2'.

    You are downloading System.Spatial from Microsoft Corporation, the license agreement to which is available at http://go.microsoft.com/?linkid=9809688. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.

    Successfully installed 'System.Spatial 5.0.2'.

    You are downloading Microsoft.Data.OData from Microsoft Corporation, the license agreement to which is available at http://go.microsoft.com/?linkid=9809688. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.

    Successfully installed 'Microsoft.Data.OData 5.0.2'.

    You are downloading WindowsAzure.Storage from Microsoft, the license agreement to which is available at http://go.microsoft.com/fwlink/?LinkId=235170. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.

    Successfully installed 'WindowsAzure.Storage 2.0.0.0'.

    Successfully removed 'WindowsAzure.Storage 1.7.0.0' from GuestBook_WorkerRole.

    Successfully removed 'Microsoft.WindowsAzure.ConfigurationManager 1.7.0.0' from GuestBook_WorkerRole.

    Successfully added 'Microsoft.WindowsAzure.ConfigurationManager 1.7.0.3' to GuestBook_WorkerRole.

    Successfully added 'Microsoft.Data.Edm 5.0.2' to GuestBook_WorkerRole.

    Successfully added 'System.Spatial 5.0.2' to GuestBook_WorkerRole.

    Successfully added 'Microsoft.Data.OData 5.0.2' to GuestBook_WorkerRole.

    Successfully added 'WindowsAzure.Storage 2.0.0.0' to GuestBook_WorkerRole.

    PM>

    Best Regards

    Friday, November 2, 2012 8:10 AM
    Moderator
  • Isn't 4.5 needed for Windows Store Apps?
    Friday, November 2, 2012 1:04 PM
  • Hi, please make sure you're referencing the winmd file instead of the dll file. If the issue is still encountered, you can also post the question on https://github.com/WindowsAzure/azure-sdk-for-net/issues.

    Best Regards

    Friday, November 9, 2012 2:36 AM
    Moderator
  • Please find more information about the CTP release of our Windows Runtime library at  http://blogs.msdn.com/b/windowsazurestorage/archive/2012/11/05/windows-azure-storage-client-library-for-windows-runtime.aspx
    Monday, November 12, 2012 9:02 PM