Skip to content

Instantly share code, notes, and snippets.

@jack-pappas
Created April 24, 2013 19:54
Show Gist options
  • Save jack-pappas/5455056 to your computer and use it in GitHub Desktop.
Save jack-pappas/5455056 to your computer and use it in GitHub Desktop.
A "baseline" .gitignore file for .NET projects.
###############################################################################
# General (non-project-specific) patterns
###############################################################################
# OS junk files
*.DS_Store
[Tt]humbs.db
# Temp Files
*~ # UNIX
~$* # Microsoft Office
# Bindings for other source-control systems.
.hg
.svn
# NuGet
!.nuget/*
[Pp]ackages/*
![Pp]ackages/repositories.config
# .NET / Visual Studio (Folders)
ipch/
obj/
[Bb]in
[Dd]ebug*/
[Rr]elease*/
# .NET / Visual Studio (Files)
*_i.c
*_p.c
*.aps
*.bak
*.[Cc]ache
*.exe
*.gpState
*.ilk
*.log
*.lib
*.ncb
*.[Oo]bj
*.opensdf
*.pch
*.pdb
*.res
*.resources
*.sbr
*.sdf
*.sln.cache
*.suo
*.tlb
*.tlh
*.user
*.vspscc
*.vssscc
Ankh.NoLoad
# Visual Studio (Project Upgrade)
_UpgradeReport_Files/
UpgradeLog.htm
UpgradeLog.XML
# Test Results
[Tt]est[Rr]esult*
TestResults/
TestResult.xml
# 3rd-party Tools
_ReSharper*/
*.nvuser
*.resharper
*resharper.user
# Build Output
#pkg
#[Bb]uild
###############################################################################
# Project-specific patterns
###############################################################################
### Your project-specific patterns should be placed here to keep them seperate
### from the "standard" patterns.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment