AzureRmWebDeployment File transform unexpected characters on multi-line comments
See original GitHub issueTroubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Environment
VSTS with private Agent
Issue Description
While deploying an app with AzureRmDeployment with file transform activated, we are expiriencing and issue on the transformed web.config files. An un expected character -->
is appearing after multi line comments in the original config file.
After the transformation and deployment, what we have in the actual site is the following.
It started happing as of thi commit proxy support (#5379) AzureRmDeployment task version 3.3.24
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:8 (4 by maintainers)
Top Results From Across the Web
File transforms and variable substitution - Azure Pipelines
This example transform configuration file does three things: It adds a new database connection string inside the ConnectionStrings element. It ...
Read more >Multiline string in Azure Pipelines - yaml
I always use the YAML block chomping operator like this msbuildArgs: >- /p:DeployOnBuild=true /p:WebPublishMethod=Package ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@AlexGuirao , we identified the root cause and resolved the issue. We planned for hot-fix which will take a day or two. In the meantime, you can unblock yourself by removing comments from config files.
hi @vincentdass, this seems to be fixed in
3.3.25
of Azure App Service Deploy.Thanks!