Hi,
I was unable to reproduce this issue. The steps I tried:
- Create a new cloud service project with one WebRole.
- Add the following setting in web.config:
<appSettings>
<add key="original_key" value="original_value"/>
</appSettings> - In Web.Release.config, add:
<appSettings xdt:Transform="Replace">
<add key="transformed_key" value="transformed_value"/>
</appSettings>
4. Change the configuration to Release for the projects in the solution.
5. Publish the cloud service project, create service package only.
6. Unpack the package to check the setting in web.config. It shows the following setting:
<appSettings>
<add key="transformed_key" value="transformed_value"/>
</appSettings>
Did you try the same steps?
Please remember to mark the replies as answers if they help and unmark them if they provide no help. Windows Azure Platform China Blog: http://blogs.msdn.com/azchina/default.aspx