windows azure cspack error The system ca nnot find the file specified. File name: ‘Microsoft.Service

0
down vote

favorite

Hello I am trying to package an azure cloud solution on a windows 2008 server machine from the commandline using cspack.exe, the azur packaging tool basically crashes with the error message below

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or ____ embly ‘Microsoft.ServiceHosting.Tools.MSBuildTasks, Version=1.0.0.0, Culture=neu tral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system ca nnot find
the file specified. File name: ‘Microsoft.ServiceHosting.Tools.MSBuildTasks, Version=1.0.0.0, Cultur e=neutral, PublicKeyToken=31bf3856ad364e35’ at Microsoft.ServiceHosting.Tools.Packaging.Program.Main(String[] args)

The assembly Microsoft.ServiceHosting.Tools.MSBuildTasks is at the location C:Program Files (x86)MSBuildMicrosoftCloud Service1.0Visual Studio 10.0, so Im not sure why it is not being found

Any help would be appreciated

Hello, “C:Program Files (x86)MSBuildMicrosoftCloud Service1.0Visual Studio 10.0Microsoft.ServiceHosting.Tools.MSBuildTasks.dll” is used by Visual Studio or MSBuild when it tries to build the project. But CSPack is looking for the Microsoft.ServiceHosting.Tools.MSBuildTasks.dll