Skip to content

Commit

Permalink
Fix the line-breaking issue in the generated test properties file for…
Browse files Browse the repository at this point in the history
… property value with semicolons. (#5668)
  • Loading branch information
imcarolwang authored Oct 24, 2024
1 parent 9c21935 commit 9bde56c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,13 @@ namespace Infrastructure.Common
This target writes the test properties to the file specified by
$(GeneratedTestPropertiesFileName) if it does not already exist.
-->
<PropertyGroup>
<ProcessedLine>$(_TestPropertyCode.Replace("%3B", ";"))</ProcessedLine>
</PropertyGroup>
<Target Name="CreateTestPropertiesFile" Condition="!Exists('$(GeneratedTestPropertiesFileName)')">
<WriteLinesToFile
File="$(GeneratedTestPropertiesFileName)"
Lines="$(_TestPropertyCode)"
Lines="$(ProcessedLine)"
Overwrite="true"/>
</Target>

Expand Down

0 comments on commit 9bde56c

Please sign in to comment.