Skip to content

Instantly share code, notes, and snippets.

@mahdi
Created August 2, 2011 08:10
Show Gist options
  • Star 34 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save mahdi/1119793 to your computer and use it in GitHub Desktop.
Save mahdi/1119793 to your computer and use it in GitHub Desktop.
A .gitignore file for a .NET developer
#Junk Files
*.DS_Store
[Tt]humbs.db
#Visual Studio Files
[Oo]bj
[Bb]in
[Dd]ebug
[Bb]uild/
*.user
*.suo
*.exe
*.pdb
*.aps
*_i.c
*_p.c
*.ncb
*.tlb
*.tlh
*.[Cc]ache
*.bak
*.ncb
*.ilk
*.log
*.lib
*.sbr
*.sdf
ipch/
*.dbmdl
*.csproj.user
*.cache
*.swp
*.vspscc
*.vssscc
*.bak.*
*.bak
#Tools
_ReSharper.*
_ReSharper*/
*.resharper
*.resharper.user
[Nn][Dd]epend[Oo]ut*/
Ankh.NoLoad
#Other
.svn
# Include DLLs if they're in the NuGet packages directory
!/packages/*/lib/*.dll
!/packages/*/lib/*/*.dll
@lavakeshpandey
Copy link

Can we also add .vscode files to gitignore? I think it won't be able to run the project when cloned but I guess vscode gives us an option to add assets to run/debug the program wherever it doesn't find one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment