title: How to use msbuild to create csx output for Azure SDK 1.8?
body: <p>I have a Visual Studio project with an Azure Cloud project that has one Web Role for a WCF Service. Rather than creating a cspkg by using the Package command in Visual Studio or with cspack, I need to create the same output that is in the project's csx folder with msbuild. However, if I run the following command in msbuild, the output doesn't have the same folder structure as the csx folder:</p>
  
  <pre><code>msbuild MyAzureProject.ccproj /p:configuration=debug /maxcpucount /p:outdir="c:\OutDir" /p:overwritereadonlyfiles=true /p:targetprofile="Cloud"
  </code></pre>
  
  <p>Instead it creates a _PublishedWebsites folder. Does anyone know how to create the contents of the csx folder manually by using the msbuild command-line (i.e. csx/roles/MyAzureRole/approot)?</p>