11# # Ignore Visual Studio temporary files, build results, and
22# # files generated by popular Visual Studio add-ons.
33# #
4- # # Get latest from https://github.com/github/gitignore/blob/master /VisualStudio.gitignore
4+ # # Get latest from https://github.com/github/gitignore/blob/main /VisualStudio.gitignore
55
66# User-specific files
77* .rsuser
88* .suo
99* .user
1010* .userosscache
1111* .sln.docstates
12+ * .env
1213
1314# User-specific files (MonoDevelop/Xamarin Studio)
1415* .userprefs
@@ -21,17 +22,37 @@ mono_crash.*
2122[Dd ]ebugPublic /
2223[Rr ]elease /
2324[Rr ]eleases /
24- x64 /
25- x86 /
25+
26+ [Dd ]ebug /x64 /
27+ [Dd ]ebugPublic /x64 /
28+ [Rr ]elease /x64 /
29+ [Rr ]eleases /x64 /
30+ bin /x64 /
31+ obj /x64 /
32+
33+ [Dd ]ebug /x86 /
34+ [Dd ]ebugPublic /x86 /
35+ [Rr ]elease /x86 /
36+ [Rr ]eleases /x86 /
37+ bin /x86 /
38+ obj /x86 /
39+
2640[Ww ][Ii ][Nn ]32 /
2741[Aa ][Rr ][Mm ]/
2842[Aa ][Rr ][Mm ]64 /
43+ [Aa ][Rr ][Mm ]64 [Ee ][Cc ]/
2944bld /
30- [Bb ]in /
3145[Oo ]bj /
46+ [Oo ]ut /
3247[Ll ]og /
3348[Ll ]ogs /
3449
50+ # Build results on 'Bin' directories
51+ ** /[Bb ]in /*
52+ # Uncomment if you have tasks that rely on *.refresh files to move binaries
53+ # (https://github.com/github/gitignore/pull/3736)
54+ # !**/[Bb]in/*.refresh
55+
3556# Visual Studio 2015/2017 cache/options directory
3657.vs /
3758# Uncomment if you have tasks that create the project's static files in wwwroot
@@ -43,12 +64,16 @@ Generated\ Files/
4364# MSTest test Results
4465[Tt ]est [Rr ]esult * /
4566[Bb ]uild [Ll ]og. *
67+ * .trx
4668
4769# NUnit
4870* .VisualState.xml
4971TestResult.xml
5072nunit- * .xml
5173
74+ # Approval Tests result files
75+ * .received. *
76+
5277# Build Results of an ATL Project
5378[Dd ]ebugPS /
5479[Rr ]eleasePS /
@@ -75,13 +100,16 @@ StyleCopReport.xml
75100* .ilk
76101* .meta
77102* .obj
103+ * .idb
78104* .iobj
79105* .pch
80106* .pdb
81107* .ipdb
82108* .pgc
83109* .pgd
84110* .rsp
111+ # but not Directory.Build.rsp, as it configures directory-level build defaults
112+ ! Directory.Build.rsp
85113* .sbr
86114* .tlb
87115* .tli
@@ -90,6 +118,7 @@ StyleCopReport.xml
90118* .tmp_proj
91119* _wpftmp.csproj
92120* .log
121+ * .tlog
93122* .vspscc
94123* .vssscc
95124.builds
@@ -142,14 +171,17 @@ _TeamCity*
142171! .axoCover /settings.json
143172
144173# Coverlet is a free, cross platform Code Coverage Tool
145- coverage * [.json, .xml, .info ]
174+ coverage * .json
175+ coverage * .xml
176+ coverage * .info
146177
147178# Visual Studio code coverage results
148179* .coverage
149180* .coveragexml
150181
151182# NCrunch
152183_NCrunch_ *
184+ .NCrunch_ *
153185. * crunch * .local.xml
154186nCrunchTemp_ *
155187
@@ -291,6 +323,14 @@ node_modules/
291323# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
292324* .vbw
293325
326+ # Visual Studio 6 workspace and project file (working project files containing files to include in project)
327+ * .dsw
328+ * .dsp
329+
330+ # Visual Studio 6 technical files
331+ * .ncb
332+ * .aps
333+
294334# Visual Studio LightSwitch build output
295335** /* .HTMLClient /GeneratedArtifacts
296336** /* .DesktopClient /GeneratedArtifacts
@@ -300,22 +340,22 @@ node_modules/
300340_Pvt_Extensions
301341
302342# Paket dependency manager
303- .paket /paket.exe
343+ ** / .paket /paket.exe
304344paket-files /
305345
306346# FAKE - F# Make
307- .fake /
347+ ** / .fake /
308348
309349# CodeRush personal settings
310- .cr /personal
350+ ** / .cr /personal
311351
312352# Python Tools for Visual Studio (PTVS)
313- __pycache__ /
353+ ** / __pycache__ /
314354* .pyc
315355
316356# Cake - Uncomment if you are using it
317- # tools/**
318- # !tools/packages.config
357+ # tools/**
358+ # !tools/packages.config
319359
320360# Tabs Studio
321361* .tss
@@ -337,15 +377,22 @@ ASALocalRun/
337377
338378# MSBuild Binary and Structured Log
339379* .binlog
380+ MSBuild_Logs /
381+
382+ # AWS SAM Build and Temporary Artifacts folder
383+ .aws-sam
340384
341385# NVidia Nsight GPU debugger configuration file
342386* .nvuser
343387
344388# MFractors (Xamarin productivity tool) working folder
345- .mfractor /
389+ ** / .mfractor /
346390
347391# Local History for Visual Studio
348- .localhistory /
392+ ** /.localhistory /
393+
394+ # Visual Studio History (VSHistory) files
395+ .vshistory /
349396
350397# BeatPulse healthcheck temp database
351398healthchecksdb
@@ -354,10 +401,28 @@ healthchecksdb
354401MigrationBackup /
355402
356403# Ionide (cross platform F# VS Code tools) working folder
357- .ionide /
404+ ** / .ionide /
358405
359406# Fody - auto-generated XML schema
360407FodyWeavers.xsd
361408
362- # IdentityServer4 key
363- * .rsa
409+ # VS Code files for those working on multiple tools
410+ .vscode /*
411+ ! .vscode /settings.json
412+ ! .vscode /tasks.json
413+ ! .vscode /launch.json
414+ ! .vscode /extensions.json
415+ ! .vscode /* .code-snippets
416+
417+ # Local History for Visual Studio Code
418+ .history /
419+
420+ # Built Visual Studio Code Extensions
421+ * .vsix
422+
423+ # Windows Installer files from build outputs
424+ * .cab
425+ * .msi
426+ * .msix
427+ * .msm
428+ * .msp
0 commit comments