mmajcica / DeploySsrs

Build-Release task for VSTS/TFS that manages Microsoft's SQL Server Reporting Services
MIT License
21 stars 21 forks source link

Preserve xml indenting and carriage return in final rdl file #85

Open mayur-bhawar opened 1 year ago

mayur-bhawar commented 1 year ago

Rdl file is getting deployed without carriage return and indenting. New-SsrsReport() function in ssrs.pms1 file performs some manipulation on xmldocument object which ends up loosing formatting in xml file and prints entire xml content in single line in final rdl file.

Attached is the code fix to resolve this issue. Could you please review PR and merge the changes to git repo?

mayur-bhawar commented 1 year ago