I\'ve setup a new worker role and setup a couple of new config transforms for it via SlowCheetah. When I build the project with one of the new configs selected, I do in fact see
I find @Frans answer too complicated, and below is the code I found in the internet. Given that you already have your app.config transformation set up and working, open your cloud project (.ccproj) in text editor, find this line:
and insert the following after it:
and replace YOUR-PROJECT-NAME with your worker project name.
UPDATE
I actually found a better way to do this (MSBuild 4+): script above will NOT work if you have more than 1 worker role with app.config transformations in your Azure project. Here is the more generalized way:
$([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))