TaskLoggingHelper is not respecting \r in Linux
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
I am building a GCC task compiler for vcxproj files. Because GCC errors or warnings are multi line, I am having problems outputing that to users.
It works fine on Windows and also in binarylogger but does not work correctly on linux (WSL).
### Steps to reproduce
git clone https://github.com/roozbehid/GCCBuild
git template -i GCC.Build.Template
cd Examples/VcxProj/
dotnet new gccbuild
--- edit a .cpp file and change it so it generates some error!
Command line
```
dotnet build /bl
```
### Expected behavior
Errors being displayed as multiline in Windows, Linux, BinaryLogger
### Actual behavior
Errors are displayed multiline in Windows and BinaryLogger but not on linux.
### Environment data
`msbuild /version` output:
OS info:
On Linux:
dotnet --version -> 2.1.104
dotnet build -> 15.6.84.34536 for .Net Core
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.