VS打开cs文件提示:Normalize inconsistent line endings?
VS打开cs文件提示:Normalize inconsistent line endings?是因为当前cs文件被其它不相同行结尾定义的编辑器修改。
The file you are editing have been edited with some other editor that does not use the same line endings resulting in a file with mixed line endings.
The ASCII characters in use for line endings are:
CR, Carriage Return
LF, Line Feed
Windows = CRLF
Mac = CR
Unix = LF
解决方案:
打开VS, 菜单:File --> Advanced save options --> Line endings : 选择Windows (CR LF)
![贴图图片](http://www.csframework.com/upload/image/Endline.PNG)
扫一扫加作者微信