After you receive the CSPKG and CSCONFIG files, you need to manually publish your project. MSBuild does not publish the project. You can use Azure PowerShell to publish a project. Publish-AzureService is the cmdlet you are looking for.
You can also configure one (or several) users in your Azure AD tenant (what every Azure subscription has) and enable fully automatic deployment using PowerShell without the need for a .publishsettings file and client certificates. Check out my Silent Login with Azure PowerShell and Azure AD message .
UPDATE
A fairly simple and easy-to-use PowerShell Script to create a new deployment in an existing cloud service and existing storage account:
Add-AzureAccount Select-AzureSubscription "<subscription name>" Set-AzureSubscription -SubscriptionName "<subscription name>" ` -CurrentStorageAccountName "<storage_account_name>" New-AzureDeployment -ServiceName "<cloud_service_name>" ` -Package "D:/tmp/cloud/myservice.cspkg" ` -Configuration "D:/tmp/cloud/ServiceConfiguration.Cloud.cscfg" ` -Slot "Staging"
And update Script:
Add-AzureAccount Select-AzureSubscription "<subscription name>" Set-AzureSubscription -SubscriptionName "<subscription name>" ` -CurrentStorageAccountName "<storage_account_name>" Set-AzureDeployment -Upgrade ` -ServiceName "<cloud_service_name>" ` -Package "D:/tmp/cloud/myservice.cspkg" ` -Configuration "D:/tmp/cloud/ServiceConfiguration.Cloud.cscfg" ` -Slot "Staging"
For Slot you can use Staging or Production . For the case when you are using the publish settings file, simply replace Add-AzureAccount with Import-AzurePublishSettingsFile .
Please note that these are proven scripts .
source share