ireland
June 1st, 2007, 04:26 AM
I'm working with Visual studio, I'm writing to a file, when I open the file in Visual Studio's text editor I get the following error:
"The line endings in the following file are not consistent. Do you want to normalize the line endings?"
How can I normalize the line endings from code before displaying the file?
Visual Studios error prompts you to normalize, I've compared a normalized and un-normalized file, the only difference I see is the File Type is different in the files properties, the normalized files type is "PC" the un-normalized in "Unknown", is this a clue?
"The line endings in the following file are not consistent. Do you want to normalize the line endings?"
How can I normalize the line endings from code before displaying the file?
Visual Studios error prompts you to normalize, I've compared a normalized and un-normalized file, the only difference I see is the File Type is different in the files properties, the normalized files type is "PC" the un-normalized in "Unknown", is this a clue?