This project is read-only.

MSBuild ReadLinesFromFile Formatting

Aug 26, 2011 at 3:27 PM

In trying to combine multiple files into a single file I'm using <ReadLinesFromFile. The combining works great, no problems there. A problem I'm having though is the tabs, lines, etc are removed. Is there any way to keep the formatting of the files that are read? 

Aug 26, 2011 at 3:35 PM

That's not an MSBuild Extension Pack Task. You'd need to write your own task to do a better job. Maybe read a file into a property if you dont need the individual lines... Let me know a little more about what you are trying to do and I'll see if we can get something in for the upcoming release.