locked
Redistributing Microsoft.WindowsAzure.Storage.dll ? RRS feed

  • Question

  • Hi,

    One of our product's cloud management tools references the old Microsoft.WindowsAzure.StorageClient.dll, and we're updating it to use the version 2.0 storage client (Microsoft.WindowsAzure.Storage.dll). Until now we've been redistributing the original StorageClient.dll with our product, but it appears that we are no longer allowed to do this because the new file name isn't listed in redist.txt.

    (C:\Program Files\Microsoft SDKs\Windows Azure\.NET SDK\2012-10\redist.txt)

    Was this omission from redist.txt an oversight? If not, fair enough, we can just require users to install WindowsAzureLibsForNet-x64.msi prior to installing our product. However, even if we require the SDK, how can we go about loading this DLL at runtime? The SDK doesn't put it in the GAC, nor is it in the system path, so I'm not sure how our app will go about loading it.

    (The same question applies to the storage client's dependent assemblies like Microsoft.Data.OData, which isn't listed in redist.txt, either)

    Any suggestions?

    Thanks!

    Mark


    • Edited by Mark SSI Thursday, May 2, 2013 1:06 AM spelling
    Thursday, May 2, 2013 1:04 AM

Answers

  • Hi Mark,

    If you install latest SDK, in new redist.txt, there already mentioned about Microsoft.WindowsAzure.Storage.dll

    (C:\Program Files\Microsoft SDKs\Windows Azure\.NET SDK\v2.0\redist.txt)

     

    For storage client's dependent assemblies like Microsoft.Data.OData, you can refer updated redist.txt from here: http://go.microsoft.com/?linkid=9809688

    http://blogs.msdn.com/b/astoriateam/archive/2012/05/17/wcf-data-services-eulas-updated.aspx

     


    Regards,
    Christian HL
    Microsoft Online Community Support


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Marked as answer by Mark SSI Friday, May 3, 2013 3:45 PM
    Friday, May 3, 2013 7:14 AM

All replies

  • Hi,

    Just add the reference "Microsoft.WindowsAzure.Storage.dll" to the project and update the using statement in code for storage 2.0.

    For OData dependency, please download ODataLib (version 5.0.2) packages from NuGet.

    http://msdn.microsoft.com/en-us/library/windowsazure/jj721952.aspx

    Thanks, 


    QinDian Tang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, May 2, 2013 7:55 AM
  • Hi QinDian,

    Thanks, I know how to update the references in the project and get the ODataLib. But I don't know how this app can find them at runtime on my customers' machines if I'm not allowed to redistribute those assemblies with my product. So the problem is that it appears that I'm not legally allowed to deploy these assemblies, and the SDK/NuGet packages don't deploy them to the GAC.

    Thanks,

    Mark

    Thursday, May 2, 2013 3:47 PM
  • Hi,
     
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
     
    Thanks,

    QinDian Tang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, May 3, 2013 6:05 AM
  • Hi Mark,

    If you install latest SDK, in new redist.txt, there already mentioned about Microsoft.WindowsAzure.Storage.dll

    (C:\Program Files\Microsoft SDKs\Windows Azure\.NET SDK\v2.0\redist.txt)

     

    For storage client's dependent assemblies like Microsoft.Data.OData, you can refer updated redist.txt from here: http://go.microsoft.com/?linkid=9809688

    http://blogs.msdn.com/b/astoriateam/archive/2012/05/17/wcf-data-services-eulas-updated.aspx

     


    Regards,
    Christian HL
    Microsoft Online Community Support


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Marked as answer by Mark SSI Friday, May 3, 2013 3:45 PM
    Friday, May 3, 2013 7:14 AM