at main 7.9 kB view raw
1## Ignore Visual Studio temporary files, build results, and 2## files generated by popular Visual Studio add-ons. 3## 4## Get latest from `dotnet new gitignore` 5 6# dotenv files 7.env 8 9# User-specific files 10*.rsuser 11*.suo 12*.user 13*.userosscache 14*.sln.docstates 15 16# User-specific files (MonoDevelop/Xamarin Studio) 17*.userprefs 18 19# Mono auto generated files 20mono_crash.* 21 22# Build results 23[Dd]ebug/ 24[Dd]ebugPublic/ 25[Rr]elease/ 26[Rr]eleases/ 27x64/ 28x86/ 29[Ww][Ii][Nn]32/ 30[Aa][Rr][Mm]/ 31[Aa][Rr][Mm]64/ 32bld/ 33[Bb]in/ 34[Oo]bj/ 35[Ll]og/ 36[Ll]ogs/ 37 38# Visual Studio 2015/2017 cache/options directory 39.vs/ 40# Uncomment if you have tasks that create the project's static files in wwwroot 41#wwwroot/ 42 43# Visual Studio 2017 auto generated files 44Generated\ Files/ 45 46# MSTest test Results 47[Tt]est[Rr]esult*/ 48[Bb]uild[Ll]og.* 49 50# NUnit 51*.VisualState.xml 52TestResult.xml 53nunit-*.xml 54 55# Build Results of an ATL Project 56[Dd]ebugPS/ 57[Rr]eleasePS/ 58dlldata.c 59 60# Benchmark Results 61BenchmarkDotNet.Artifacts/ 62 63# .NET 64project.lock.json 65project.fragment.lock.json 66artifacts/ 67 68# Tye 69.tye/ 70 71# ASP.NET Scaffolding 72ScaffoldingReadMe.txt 73 74# StyleCop 75StyleCopReport.xml 76 77# Files built by Visual Studio 78*_i.c 79*_p.c 80*_h.h 81*.ilk 82*.meta 83*.obj 84*.iobj 85*.pch 86*.pdb 87*.ipdb 88*.pgc 89*.pgd 90*.rsp 91*.sbr 92*.tlb 93*.tli 94*.tlh 95*.tmp 96*.tmp_proj 97*_wpftmp.csproj 98*.log 99*.tlog 100*.vspscc 101*.vssscc 102.builds 103*.pidb 104*.svclog 105*.scc 106 107# Chutzpah Test files 108_Chutzpah* 109 110# Visual C++ cache files 111ipch/ 112*.aps 113*.ncb 114*.opendb 115*.opensdf 116*.sdf 117*.cachefile 118*.VC.db 119*.VC.VC.opendb 120 121# Visual Studio profiler 122*.psess 123*.vsp 124*.vspx 125*.sap 126 127# Visual Studio Trace Files 128*.e2e 129 130# TFS 2012 Local Workspace 131$tf/ 132 133# Guidance Automation Toolkit 134*.gpState 135 136# ReSharper is a .NET coding add-in 137_ReSharper*/ 138*.[Rr]e[Ss]harper 139*.DotSettings.user 140 141# TeamCity is a build add-in 142_TeamCity* 143 144# DotCover is a Code Coverage Tool 145*.dotCover 146 147# AxoCover is a Code Coverage Tool 148.axoCover/* 149!.axoCover/settings.json 150 151# Coverlet is a free, cross platform Code Coverage Tool 152coverage*.json 153coverage*.xml 154coverage*.info 155 156# Visual Studio code coverage results 157*.coverage 158*.coveragexml 159 160# NCrunch 161_NCrunch_* 162.*crunch*.local.xml 163nCrunchTemp_* 164 165# MightyMoose 166*.mm.* 167AutoTest.Net/ 168 169# Web workbench (sass) 170.sass-cache/ 171 172# Installshield output folder 173[Ee]xpress/ 174 175# DocProject is a documentation generator add-in 176DocProject/buildhelp/ 177DocProject/Help/*.HxT 178DocProject/Help/*.HxC 179DocProject/Help/*.hhc 180DocProject/Help/*.hhk 181DocProject/Help/*.hhp 182DocProject/Help/Html2 183DocProject/Help/html 184 185# Click-Once directory 186publish/ 187 188# Publish Web Output 189*.[Pp]ublish.xml 190*.azurePubxml 191# Note: Comment the next line if you want to checkin your web deploy settings, 192# but database connection strings (with potential passwords) will be unencrypted 193*.pubxml 194*.publishproj 195 196# Microsoft Azure Web App publish settings. Comment the next line if you want to 197# checkin your Azure Web App publish settings, but sensitive information contained 198# in these scripts will be unencrypted 199PublishScripts/ 200 201# NuGet Packages 202*.nupkg 203# NuGet Symbol Packages 204*.snupkg 205# The packages folder can be ignored because of Package Restore 206**/[Pp]ackages/* 207# except build/, which is used as an MSBuild target. 208!**/[Pp]ackages/build/ 209# Uncomment if necessary however generally it will be regenerated when needed 210#!**/[Pp]ackages/repositories.config 211# NuGet v3's project.json files produces more ignorable files 212*.nuget.props 213*.nuget.targets 214 215# Microsoft Azure Build Output 216csx/ 217*.build.csdef 218 219# Microsoft Azure Emulator 220ecf/ 221rcf/ 222 223# Windows Store app package directories and files 224AppPackages/ 225BundleArtifacts/ 226Package.StoreAssociation.xml 227_pkginfo.txt 228*.appx 229*.appxbundle 230*.appxupload 231 232# Visual Studio cache files 233# files ending in .cache can be ignored 234*.[Cc]ache 235# but keep track of directories ending in .cache 236!?*.[Cc]ache/ 237 238# Others 239ClientBin/ 240~$* 241*~ 242*.dbmdl 243*.dbproj.schemaview 244*.jfm 245*.pfx 246*.publishsettings 247orleans.codegen.cs 248 249# Including strong name files can present a security risk 250# (https://github.com/github/gitignore/pull/2483#issue-259490424) 251#*.snk 252 253# Since there are multiple workflows, uncomment next line to ignore bower_components 254# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 255#bower_components/ 256 257# RIA/Silverlight projects 258Generated_Code/ 259 260# Backup & report files from converting an old project file 261# to a newer Visual Studio version. Backup files are not needed, 262# because we have git ;-) 263_UpgradeReport_Files/ 264Backup*/ 265UpgradeLog*.XML 266UpgradeLog*.htm 267ServiceFabricBackup/ 268*.rptproj.bak 269 270# SQL Server files 271*.mdf 272*.ldf 273*.ndf 274 275# Business Intelligence projects 276*.rdl.data 277*.bim.layout 278*.bim_*.settings 279*.rptproj.rsuser 280*- [Bb]ackup.rdl 281*- [Bb]ackup ([0-9]).rdl 282*- [Bb]ackup ([0-9][0-9]).rdl 283 284# Microsoft Fakes 285FakesAssemblies/ 286 287# GhostDoc plugin setting file 288*.GhostDoc.xml 289 290# Node.js Tools for Visual Studio 291.ntvs_analysis.dat 292node_modules/ 293 294# Visual Studio 6 build log 295*.plg 296 297# Visual Studio 6 workspace options file 298*.opt 299 300# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 301*.vbw 302 303# Visual Studio 6 auto-generated project file (contains which files were open etc.) 304*.vbp 305 306# Visual Studio 6 workspace and project file (working project files containing files to include in project) 307*.dsw 308*.dsp 309 310# Visual Studio 6 technical files 311*.ncb 312*.aps 313 314# Visual Studio LightSwitch build output 315**/*.HTMLClient/GeneratedArtifacts 316**/*.DesktopClient/GeneratedArtifacts 317**/*.DesktopClient/ModelManifest.xml 318**/*.Server/GeneratedArtifacts 319**/*.Server/ModelManifest.xml 320_Pvt_Extensions 321 322# Paket dependency manager 323.paket/paket.exe 324paket-files/ 325 326# FAKE - F# Make 327.fake/ 328 329# CodeRush personal settings 330.cr/personal 331 332# Python Tools for Visual Studio (PTVS) 333__pycache__/ 334*.pyc 335 336# Cake - Uncomment if you are using it 337# tools/** 338# !tools/packages.config 339 340# Tabs Studio 341*.tss 342 343# Telerik's JustMock configuration file 344*.jmconfig 345 346# BizTalk build output 347*.btp.cs 348*.btm.cs 349*.odx.cs 350*.xsd.cs 351 352# OpenCover UI analysis results 353OpenCover/ 354 355# Azure Stream Analytics local run output 356ASALocalRun/ 357 358# MSBuild Binary and Structured Log 359*.binlog 360 361# NVidia Nsight GPU debugger configuration file 362*.nvuser 363 364# MFractors (Xamarin productivity tool) working folder 365.mfractor/ 366 367# Local History for Visual Studio 368.localhistory/ 369 370# Visual Studio History (VSHistory) files 371.vshistory/ 372 373# BeatPulse healthcheck temp database 374healthchecksdb 375 376# Backup folder for Package Reference Convert tool in Visual Studio 2017 377MigrationBackup/ 378 379# Ionide (cross platform F# VS Code tools) working folder 380.ionide/ 381 382# Fody - auto-generated XML schema 383FodyWeavers.xsd 384 385# VS Code files for those working on multiple tools 386.vscode/* 387!.vscode/settings.json 388!.vscode/tasks.json 389!.vscode/launch.json 390!.vscode/extensions.json 391*.code-workspace 392 393# Local History for Visual Studio Code 394.history/ 395 396# Windows Installer files from build outputs 397*.cab 398*.msi 399*.msix 400*.msm 401*.msp 402 403# JetBrains Rider 404*.sln.iml 405.idea/ 406 407## 408## Visual studio for Mac 409## 410 411 412# globs 413Makefile.in 414*.userprefs 415*.usertasks 416config.make 417config.status 418aclocal.m4 419install-sh 420autom4te.cache/ 421*.tar.gz 422tarballs/ 423test-results/ 424 425# Mac bundle stuff 426*.dmg 427*.app 428 429# content below from: https://github.com/github/gitignore/blob/main/Global/macOS.gitignore 430# General 431.DS_Store 432.AppleDouble 433.LSOverride 434 435# Icon must end with two \r 436Icon 437 438 439# Thumbnails 440._* 441 442# Files that might appear in the root of a volume 443.DocumentRevisions-V100 444.fseventsd 445.Spotlight-V100 446.TemporaryItems 447.Trashes 448.VolumeIcon.icns 449.com.apple.timemachine.donotpresent 450 451# Directories potentially created on remote AFP share 452.AppleDB 453.AppleDesktop 454Network Trash Folder 455Temporary Items 456.apdisk 457 458# content below from: https://github.com/github/gitignore/blob/main/Global/Windows.gitignore 459# Windows thumbnail cache files 460Thumbs.db 461ehthumbs.db 462ehthumbs_vista.db 463 464# Dump file 465*.stackdump 466 467# Folder config file 468[Dd]esktop.ini 469 470# Recycle Bin used on file shares 471$RECYCLE.BIN/ 472 473# Windows Installer files 474*.cab 475*.msi 476*.msix 477*.msm 478*.msp 479 480# Windows shortcuts 481*.lnk 482 483# Vim temporary swap files 484*.swp