Skip to content

Commit 03b6f00

Browse files
committed
Updated gitignore and gitattributes for VS.
1 parent 510d39f commit 03b6f00

File tree

2 files changed

+176
-61
lines changed

2 files changed

+176
-61
lines changed

.gitattributes

Lines changed: 60 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,63 @@
1-
# Auto detect text files and perform LF normalization
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
24
* text=auto
35

4-
# Custom for Visual Studio
5-
*.cs diff=csharp
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
614

7-
# Standard to msysgit
8-
*.doc diff=astextplain
9-
*.DOC diff=astextplain
10-
*.docx diff=astextplain
11-
*.DOCX diff=astextplain
12-
*.dot diff=astextplain
13-
*.DOT diff=astextplain
14-
*.pdf diff=astextplain
15-
*.PDF diff=astextplain
16-
*.rtf diff=astextplain
17-
*.RTF diff=astextplain
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.gitignore

Lines changed: 116 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,116 @@
1-
# Windows image file caches
2-
Thumbs.db
3-
ehthumbs.db
4-
5-
# Folder config file
6-
Desktop.ini
7-
8-
# Recycle Bin used on file shares
9-
$RECYCLE.BIN/
10-
11-
# Windows Installer files
12-
*.cab
13-
*.msi
14-
*.msm
15-
*.msp
16-
17-
# Windows shortcuts
18-
*.lnk
19-
20-
# =========================
21-
# Operating System Files
22-
# =========================
23-
24-
# OSX
25-
# =========================
26-
27-
.DS_Store
28-
.AppleDouble
29-
.LSOverride
30-
31-
# Thumbnails
32-
._*
33-
34-
# Files that might appear in the root of a volume
35-
.DocumentRevisions-V100
36-
.fseventsd
37-
.Spotlight-V100
38-
.TemporaryItems
39-
.Trashes
40-
.VolumeIcon.icns
41-
42-
# Directories potentially created on remote AFP share
43-
.AppleDB
44-
.AppleDesktop
45-
Network Trash Folder
46-
Temporary Items
47-
.apdisk
1+
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
2+
[Bb]in/
3+
[Oo]bj/
4+
5+
# Logs
6+
Logs/
7+
8+
# Generated files
9+
project.lock.json
10+
.vs/
11+
12+
# mstest test results
13+
TestResults
14+
15+
## Ignore Visual Studio temporary files, build results, and
16+
## files generated by popular Visual Studio add-ons.
17+
18+
# User-specific files
19+
*.suo
20+
*.user
21+
*.sln.docstates
22+
23+
# Build results
24+
[Dd]ebug/
25+
[Rr]elease/
26+
x64/
27+
*_i.c
28+
*_p.c
29+
*.ilk
30+
*.meta
31+
*.obj
32+
*.pch
33+
*.pdb
34+
*.pgc
35+
*.pgd
36+
*.rsp
37+
*.sbr
38+
*.tlb
39+
*.tli
40+
*.tlh
41+
*.tmp
42+
*.log
43+
*.vspscc
44+
*.vssscc
45+
.builds
46+
47+
# Visual C++ cache files
48+
ipch/
49+
*.aps
50+
*.ncb
51+
*.opensdf
52+
*.sdf
53+
54+
# Visual Studio profiler
55+
*.psess
56+
*.vsp
57+
*.vspx
58+
59+
# Guidance Automation Toolkit
60+
*.gpState
61+
62+
# ReSharper is a .NET coding add-in
63+
_ReSharper*
64+
65+
# NCrunch
66+
*.ncrunch*
67+
.*crunch*.local.xml
68+
69+
# Installshield output folder
70+
[Ee]xpress
71+
72+
# DocProject is a documentation generator add-in
73+
DocProject/buildhelp/
74+
DocProject/Help/*.HxT
75+
DocProject/Help/*.HxC
76+
DocProject/Help/*.hhc
77+
DocProject/Help/*.hhk
78+
DocProject/Help/*.hhp
79+
DocProject/Help/Html2
80+
DocProject/Help/html
81+
82+
# Click-Once directory
83+
publish
84+
85+
# Publish Web Output
86+
*.Publish.xml
87+
88+
# NuGet Packages Directory
89+
packages
90+
91+
# Windows Azure Build Output
92+
csx
93+
*.build.csdef
94+
95+
# Windows Store app package directory
96+
AppPackages/
97+
98+
# Others
99+
[Bb]in
100+
[Oo]bj
101+
sql
102+
TestResults
103+
[Tt]est[Rr]esult*
104+
*.Cache
105+
ClientBin
106+
[Ss]tyle[Cc]op.*
107+
~$*
108+
*.dbmdl
109+
Generated_Code #added for RIA/Silverlight projects
110+
111+
# Backup & report files from converting an old project file to a newer
112+
# Visual Studio version. Backup files are not needed, because we have git ;-)
113+
_UpgradeReport_Files/
114+
Backup*/
115+
UpgradeLog*.XML
116+
src/.vs/config/applicationhost.config

0 commit comments

Comments
 (0)