LinkedIn

Thursday, 28 April 2016

Error WAT200: No default service configuration "ServiceConfiguration.cscfg" could be found in the project.

Morning,

When deploying a cloud service / web role you may experience the following message:

2016-04-27T08:16:41.2709354Z ##[error]C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Windows Azure Tools\2.9\Microsoft.WindowsAzure.targets(373,5): Error WAT200: No default service configuration "ServiceConfiguration.cscfg" could be found in the project.

On your VSTS build screen:













It means it is basically looking for a default cscfg file as we havent specified an alternative.

In my build I went and set the Target Profile to match the build configuration and this fixed the issue.
















So it will be looking for one of the files shown below that match the currently building BuildConfiguration













And after those changes all builds perfectly:

















Thanks
Russ