215 lines
3.3 KiB
Plaintext
215 lines
3.3 KiB
Plaintext
|
||
Skip to content
|
||
All gists
|
||
Back to GitHub
|
||
Sign in
|
||
Sign up
|
||
|
||
Instantly share code, notes, and snippets.
|
||
@takekazuomi
|
||
takekazuomi/csharp.gitignore
|
||
Created Apr 17, 2014
|
||
|
||
76
|
||
|
||
39
|
||
|
||
Code
|
||
Revisions 2
|
||
Stars 76
|
||
Forks 39
|
||
.gitignore for C#
|
||
csharp.gitignore
|
||
## 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/
|
||
[Bb]in/
|
||
[Oo]bj/
|
||
|
||
# MSTest test Results
|
||
[Tt]est[Rr]esult*/
|
||
[Bb]uild[Ll]og.*
|
||
|
||
*_i.c
|
||
*_p.c
|
||
*_i.h
|
||
*.ilk
|
||
*.meta
|
||
*.obj
|
||
*.pch
|
||
*.pdb
|
||
*.pgc
|
||
*.pgd
|
||
*.rsp
|
||
*.sbr
|
||
*.tlb
|
||
*.tli
|
||
*.tlh
|
||
*.tmp
|
||
*.tmp_proj
|
||
*.log
|
||
*.vspscc
|
||
*.vssscc
|
||
.builds
|
||
*.pidb
|
||
*.log
|
||
*.svclog
|
||
*.scc
|
||
|
||
# Visual C++ cache files
|
||
ipch/
|
||
*.aps
|
||
*.ncb
|
||
*.opensdf
|
||
*.sdf
|
||
*.cachefile
|
||
|
||
# Visual Studio profiler
|
||
*.psess
|
||
*.vsp
|
||
*.vspx
|
||
|
||
# Guidance Automation Toolkit
|
||
*.gpState
|
||
|
||
# ReSharper is a .NET coding add-in
|
||
_ReSharper*/
|
||
*.[Rr]e[Ss]harper
|
||
*.DotSettings.user
|
||
|
||
# Click-Once directory
|
||
publish/
|
||
|
||
# Publish Web Output
|
||
*.Publish.xml
|
||
*.pubxml
|
||
*.azurePubxml
|
||
|
||
# NuGet Packages Directory
|
||
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
|
||
packages/
|
||
## TODO: If the tool you use requires repositories.config, also uncomment the next line
|
||
!packages/repositories.config
|
||
|
||
# Windows Azure Build Output
|
||
csx/
|
||
*.build.csdef
|
||
|
||
# Windows Store app package directory
|
||
AppPackages/
|
||
|
||
# Others
|
||
sql/
|
||
*.Cache
|
||
ClientBin/
|
||
[Ss]tyle[Cc]op.*
|
||
![Ss]tyle[Cc]op.targets
|
||
~$*
|
||
*~
|
||
*.dbmdl
|
||
*.[Pp]ublish.xml
|
||
|
||
*.publishsettings
|
||
|
||
# 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
|
||
UpgradeLog*.htm
|
||
|
||
# SQL Server files
|
||
App_Data/*.mdf
|
||
App_Data/*.ldf
|
||
|
||
# =========================
|
||
# Windows detritus
|
||
# =========================
|
||
|
||
# Windows image file caches
|
||
Thumbs.db
|
||
ehthumbs.db
|
||
|
||
# Folder config file
|
||
Desktop.ini
|
||
|
||
# Recycle Bin used on file shares
|
||
$RECYCLE.BIN/
|
||
|
||
# Mac desktop service store files
|
||
.DS_Store
|
||
|
||
_NCrunch*
|
||
@FlameWert
|
||
FlameWert commented Apr 17, 2020
|
||
|
||
Cool that you already included Desktop.ini
|
||
@DSivtsov
|
||
DSivtsov commented Jun 21, 2020
|
||
|
||
Cool, but I also add to exclude the folder ".vs/"
|
||
@takekazuomi
|
||
Author
|
||
takekazuomi commented Jun 24, 2020
|
||
|
||
@FlameWert @DSivtsov
|
||
Thank You for your comment. I recommend following link for your .gitignore.
|
||
https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
||
@DawidFranzoso
|
||
DawidFranzoso commented Oct 24, 2021
|
||
|
||
Thanks a lot, they should add it to the template list
|
||
@fabienteulieres
|
||
fabienteulieres commented Jun 22, 2022
|
||
|
||
Great, thanks! It blows my mind that GitHub still does not have it in their pulldown when creating a new repo.
|
||
@dnh33
|
||
dnh33 commented Jul 25, 2022
|
||
|
||
Appreciate it
|
||
@vicdant1
|
||
vicdant1 commented Aug 31, 2022
|
||
|
||
Thank you a lot, Sir.
|
||
@takekazuomi
|
||
Author
|
||
takekazuomi commented Aug 31, 2022
|
||
|
||
For now, I recommend using dotnet new gitignore. Standard and works well.
|
||
@Eliezer2000
|
||
Eliezer2000 commented Sep 29, 2022
|
||
|
||
Por enquanto, recomendo usar dotnet new gitignore. Padrão e funciona bem.
|
||
|
||
Valeu pela dica, simples e eficaz!
|
||
to join this conversation on GitHub. Already have an account? Sign in to comment
|
||
Footer
|
||
© 2022 GitHub, Inc.
|
||
Footer navigation
|
||
|
||
Terms
|
||
Privacy
|
||
Security
|
||
Status
|
||
Docs
|
||
Contact GitHub
|
||
Pricing
|
||
API
|
||
Training
|
||
Blog
|
||
About
|
||
|