1
0
mirror of https://github.com/github/gitignore synced 2025-02-21 18:09:09 +01:00
gitignore/CSharp.gitignore
James Manning a3c3c1ff4c fix Generated_Code entry in CSharp.gitignore
The existing entry for Generated_Code (with a space and then a comment afterwards) wasn't working for me (at least with msysgit version 1.7.11.msysgit.1).

Once I put the comment on a separate line and removed the trailing space after 'Generated_Code', it worked fine.

The gitignore(5) man page says a line starting with # is treated as a comment, but doesn't mention what # does if it's elsewhere in the line, so based on the previous behavior and trying a line of "Generated_Code#foo", it appears that the # and the rest of the line isn't ignored, so we need to move the comment to its own line that starts with #

http://www.kernel.org/pub/software/scm/git/docs/gitignore.html
2012-11-08 11:39:26 -05:00

110 lines
1.5 KiB
Plaintext

# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
[Bb]in/
[Oo]bj/
# mstest test results
TestResults
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
[Dd]ebug/
[Rr]elease/
x64/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.log
*.vspscc
*.vssscc
.builds
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*
# NCrunch
*.ncrunch*
.*crunch*.local.xml
# Installshield output folder
[Ee]xpress
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish
# Publish Web Output
*.Publish.xml
# NuGet Packages Directory
packages
# Windows Azure Build Output
csx
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
[Bb]in
[Oo]bj
sql
TestResults
[Tt]est[Rr]esult*
*.Cache
ClientBin
[Ss]tyle[Cc]op.*
~$*
*.dbmdl
# added for RIA/Silverlight projects
Generated_Code
# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML