I am trying to use the Microsoft Azure SDK for .net version 0.9.5-preview. I basically try to just get a sample for placement of places and services from Readme. However, I encountered an exception
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Microsoft.WindowsAzure.Management.dll
Additional information: Could not load file or assembly 'Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Information about this assembly is rather scarce. I found some links to it regarding PCL and Windows Phone, but it is just a console application using full 4.5.1 (although I also tried 4.5).
I found a copy of the dll in the google repository and dumping this into the bin directory does the application work, however it seems like an impressive hack. I would prefer a better solution. Any ideas?
Contents of package.config
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.WindowsAzure.Common" version="0.9.8-preview" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management" version="0.9.5-preview" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management.Compute" version="0.9.9-preview" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management.Libraries" version="0.9.6-preview" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management.Monitoring" version="0.9.2-preview" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management.Scheduler" version="0.9.8-preview" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management.ServiceBus" version="0.9.3-preview" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management.Sql" version="0.9.4-preview" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management.Storage" version="0.9.3-preview" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management.VirtualNetworks" version="0.9.3-preview" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management.WebSites" version="0.9.3-preview" targetFramework="net45" />
</packages>
source
share