The filetarget file has the LineEnding property, which can be set to the following values:
Default - Insert a platform-specific end line after each line.CR - Insert a CR character (ASCII 13) after each line.CRLF - Insert a CR LF sequence (ASCII 13, ASCII 10) after each row.LF - Insert an LF character (ASCII 10) after each line.None - Do not insert lines at the end.
In your case, you need None , therefore:
<target xsi:type="File" name="file1" lineEnding="None"
If you need it for another purpose, for example. ConsoleTarget, then this is not implemented. open the problem on github .
source share