Questions tagged [cspack]

15 questions
14
votes
5 answers

Azure 2.5 SDK Upgrade Causes CSPack Fail

I just upgraded to Azure SDK Tools 2.5 in Visual Studio 2012 and when I try to publish via the GUI to Azure I am getting the following error during the final CSPack step. ERROR MESSAGE: The "CSPack" task failed…
7
votes
1 answer

CSPack encodes directory name with space to %20

I've recently setup a new build configuration in Teamcity to create an Cloud Services package for Azure. After building the project with msbuild, i'm calling cspack.exe (Azure SDK 2.2) to create the package. This is the command i'm using: cspack.exe…
Thom Puiman
  • 370
  • 2
  • 11
5
votes
0 answers

Does cspack.exe support .NET 4.6*?

According to Support and Retirement Information for the Azure SDK for .NET and APIs, SDK 2.6 introduced support for .NET 4.6. None of the listed SDKs explicitly mention 4.6.2 though the sister article Install .NET on a Cloud Service Role includes an…
David Peden
  • 17,596
  • 6
  • 52
  • 72
3
votes
3 answers

csrun & cspack - what's the purpose of sitePhysicalDirectories?

I'm trying to build an Azure deployment package using cspack on my build server for devfabric deployment (csrun) onto a test server. cspack dutifully copies the web role binaries & files into the csx package, but it also requires a…
Sam
  • 4,694
  • 2
  • 36
  • 47
2
votes
2 answers

Azure cspack.exe throws System.Runtime.Remoting.RemotingException

I have installed Azure SDK 2.5. When I run command: "C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.5\bin\cspack.exe" .\ServiceDefinition.csdef "/out:Package.cspkg" I got an exception: Unhandled Exception:…
Roman Oleynik
  • 619
  • 1
  • 5
  • 12
2
votes
1 answer

CSPack RemotingException while packaging Cloud service project with MSBuild

I have a powershell script that is packaging our builds and deploys them to Azure Cloud Services. This script was running without any problem with SDK 2.3, but when we upgraded to SDK 2.5 we started receiving the following error while building the…
Jiri Kovar
  • 51
  • 4
2
votes
1 answer

Why doesn't mywebsite.dll.config get included in my cspkg?

I have an azure web role with Azure SDK 2.3. My web site project website has web.config, which gets copied to bin/debug/website.dll.config properly during build. But Azure SDK totally fails to include this DLL in the cspkg which causes my role…
Tim Lovell-Smith
  • 15,310
  • 14
  • 76
  • 93
2
votes
0 answers

Is there a parameter for cspack.exe that tells it to do faster compression?

The Azure cspkg generation command cspack takes too long! It uses basically all of one core for a long time, and I suspect it is trying to compress all my files as much as possible. I would rather speed up the process, anyone know another way?…
Tim Lovell-Smith
  • 15,310
  • 14
  • 76
  • 93
1
vote
1 answer

What is wrong with this cspack command line?

If I create an Azure package via Visual Studio then it works fine and runs on Azure. If I run the following cmd then the .cspkg that is created is 8,032KB instead of 14,785KB that is created via Visual Studio. The command line generated .cspkg…
KevinUK
  • 5,053
  • 5
  • 33
  • 49
1
vote
2 answers

Adding additional content folders to Azure package

Im using Azure SDK 2.5 I have a web role in a cloud service project. I would like to add a folder in some fashion such that it is deployed in the parent directory of the approot. I havent found a way to do this which kind of makes me wonder what use…
Sam
  • 1,725
  • 1
  • 17
  • 28
1
vote
2 answers

Is Windows Azure cspack.exe open source?

I'm trying to pack my Java Azure project in Mac and I cannot find the source code for cspack.exe. So far, I've managed to run Azure Eclipse plugin and successfully created a project but when trying to deploy it cannot run cspack.exe. I've downloaded…
javiercbk
  • 470
  • 3
  • 11
0
votes
2 answers

CSPack-created package file is missing \siteroot folder

I am using cspack command to create cspkg as part of build. The command that I am using is cspack.exe D:\StoreSimplePortal\StorSimple-Portal\src\StorSimple.CloudService\ServiceDefinition.csdef /out:StorSimple.CloudService.cspkg…
0
votes
1 answer

Why does Azure cloud service in Octopus fail with error: "Your package does not appear to contain any Azure Cloud Service package (.cspkg) files."

We have an Azure Cloud Service being deployed by Octopus Deploy. It started to fail with the error "Your package does not appear to contain any Azure Cloud Service package (.cspkg) files." This is odd since it used to succeed, and no code has…
codekaizen
  • 26,990
  • 7
  • 84
  • 140
0
votes
1 answer

How can I work around this serialization issue with SimpleServiceModel.Role?

I am getting this unhandled exception from the following callstack, but I don't know why it fails this way for me... (although may be something special about the way I am running it, yes...) "Remoting call across appdomains fails with Type…
Tim Lovell-Smith
  • 15,310
  • 14
  • 76
  • 93
0
votes
1 answer

How to overcome : Failed to generate Azure Service package?

Am trying to enable remote desktop for a Cloud Service and Publish it. Added the remote user, and the cscfg is updated. Enable-AzureServiceProjectRemoteDesktop ( Prompts for user name and password ) Imported Publish Settings file and Selected the…