Dotnet: Fix attributes for sln/csproj files

This commit is contained in:
Thaddeus Crews 2024-05-02 15:12:49 -05:00
parent b9e022302a
commit 64f2e8b64f
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
21 changed files with 74 additions and 43 deletions

7
.gitattributes vendored
View file

@ -5,12 +5,13 @@ thirdparty/* linguist-vendored
# Normalize EOL for all files that Git considers text files
* text=auto eol=lf
# Except for bat files, which are Windows only files
# Except for Windows-only / Visual Studio files
*.bat eol=crlf
*.sln eol=crlf
*.csproj eol=crlf
misc/msvs/*.template eol=crlf
# And some test files where the EOL matters
*.test.txt -text
# And also the templates for Visual Studio files, which VS will always force CRLF on
/misc/msvs/*.template eol=crlf
# The above only works properly for Git 2.10+, so for older versions
# we need to manually list the binary files we don't want modified.