How do I get continuous integration to work using publish settings from a profile in our Cloud Project?
When using the default TfvcContinuousDeploymentTemplate.12.xaml
, the publish ignores some of my profile settings. It doesn't use the correct storage account and always publishes to the Staging environment.
Here are the settings for my Development publish profile:
Here is the current state of our build definition:
"Path to Deployment Settings" sounds like it would be correct but it is only for Azure Websites.
How do I get this to publish using all profile settings as specified in my .azurePubxml file?
CI template TfvcContinuousDeploymentTemplate.12.xaml
will not use your publishing profile. Relevant settings (deployment slot, storage account name, ...) are configured in 6. Deployment > Deployment > Windows Azure Deployment Environment
/p:TargetProfile=Development
specifies service configuration only (selects correct .cscfg file), not a publishing profile.
If you need to configure additional features like for example remote debugging, you will have to add additional msbuild parameters in 2. Build > 5. Advanced > MSBuild arguments
.