Asp.Net v4 Webforms App has a dependency on Windows.Azure.Storage. This all works fine if i use WebDeploy to deploy it to Azure Websites.
Now i want to use a branch in my bitbucket repo to have it auto deploy from source control.
I set up the branch, linked azure to it, and then triggered a deploy.
But it fails, and this is in the Azure log...
D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.WindowsAzure.Storage, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\DWASFiles\Sites\kdb\VirtualDirectory0\site\repository\Pfv.Kdb.UI\Kdb.UI.csproj]
Nuget has package restore enabled, and i checked nuget.targets to ensure that DownloadNugetExe condition is set to true.
Why is it failing to pull in the nuget dependencies?