Troubleshooting: Missing Microsoft.Data.Services.Client version 5.6 on Azure Websites

Posted by Nilay Parikh and last modified on Tue Jun 12, 2018.

Development recently comes across the error while deploying the website through CI pipeline. The project was failing to load dependency of the recent release of Azure Storage SDK.

Error Description

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.

Microsoft.Data.Service.Client is not explicitly referenced as a dependency for Storage Client Library or not downloading when we install from NuGet.

It can be fixed by manually adding the correct version of Microsoft.Data.Service.Client v5.6.0.0

Alternatively, you can install the dependency using the Package Manager or the PowerShell CmdLet

Install-Package Microsoft.Data.Services.Client
Disclaimer

Any views or opinions expressed are solely those of the author and do not represent any other person or organisation. THE ARTICLE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. IN NO EVENT SHALL THE AUTHOR(S) OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY.