Skip to content

Instantly share code, notes, and snippets.

@domgreen
Created April 26, 2011 12:26
Show Gist options
  • Save domgreen/942168 to your computer and use it in GitHub Desktop.
Save domgreen/942168 to your computer and use it in GitHub Desktop.
tokenised scenario for automating deployment to Windows Azure in MSBuild
<Target Name="CloudDeploy" DependsOnTargets="CorePublish" Condition=" '$(DeployType)' == 'Cloud' ">
<Exec Command="$(PackageUploader) $(cspkgFile) $(AccountConnectionString)"/>
<Exec Command="$(SuspendCommand)" ContinueOnError="true"/>
<Exec Command="$(DeleteCommand)" ContinueOnError="true"/>
<Exec Command="$(CreateCommand)" ContinueOnError="true"/>
<Exec Command="$(RunCommand)" ContinueOnError="true"/>
</Target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment