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)

扫一扫加作者微信


版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网