HGIGNORE for .NET Projects

Here’s the .hgignore file that I use when using Mercurial with .NET:

syntax: glob
*.obj
*.exe
*.pdb
*.user
*.aps
*.pch
*.scc
*.dbmdl
*.vspscc
*.vssscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.cache
*.ilk
*.log
*.lib
*.sbr
[Bb]in
[Dd]ebug*/
obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*
[Bb]uild[Ll]og.*
*.[Pp]ublish.xml
[Pp]ublish/
_UpgradeReport_Files/
UpgradeLog.XML