We have moved to GitHub Issues
Created by Sebastiaan Janssen 19 Aug 2012, 14:52:58 Updated by Shannon Deminick 08 Jan 2014, 06:21:42
When opening a master page in Visual Studio I get the following warning:
The line endings in de following file are not consistent. Do you want to normalize the line endings?
Looking at the line endings of a new template file, I can see that they are indeed inconsistent:
<%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>CRLF LF <asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">LF LF </asp:Content>CRLF
Should be fixed by using the .NET framework line ending constant System.Environment.NewLine.
''Originally created on CodePlex by [michielvoo|http://www.codeplex.com/site/users/view/michielvoo]'' on 10/5/2011 3:27:18 PM [Codeplex ID: 30525 - Codeplex Votes: 4]
Fixed with pull request: https://github.com/umbraco/Umbraco-CMS/pull/239
Difficulty: Very Easy
Backwards Compatible: True
Fix Submitted: Pull request
Due in version: 6.2.0, 7.0.2