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,18 +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 /
3246[Oo ]ut /
3347[Ll ]og /
3448[Ll ]ogs /
3549
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+
3656# Visual Studio 2015/2017 cache/options directory
3757.vs /
3858# Uncomment if you have tasks that create the project's static files in wwwroot
@@ -44,12 +64,16 @@ Generated\ Files/
4464# MSTest test Results
4565[Tt ]est [Rr ]esult * /
4666[Bb ]uild [Ll ]og. *
67+ * .trx
4768
4869# NUnit
4970* .VisualState.xml
5071TestResult.xml
5172nunit- * .xml
5273
74+ # Approval Tests result files
75+ * .received. *
76+
5377# Build Results of an ATL Project
5478[Dd ]ebugPS /
5579[Rr ]eleasePS /
@@ -76,13 +100,16 @@ StyleCopReport.xml
76100* .ilk
77101* .meta
78102* .obj
103+ * .idb
79104* .iobj
80105* .pch
81106* .pdb
82107* .ipdb
83108* .pgc
84109* .pgd
85110* .rsp
111+ # but not Directory.Build.rsp, as it configures directory-level build defaults
112+ ! Directory.Build.rsp
86113* .sbr
87114* .tlb
88115* .tli
@@ -91,6 +118,7 @@ StyleCopReport.xml
91118* .tmp_proj
92119* _wpftmp.csproj
93120* .log
121+ * .tlog
94122* .vspscc
95123* .vssscc
96124.builds
@@ -153,6 +181,7 @@ coverage*.info
153181
154182# NCrunch
155183_NCrunch_ *
184+ .NCrunch_ *
156185. * crunch * .local.xml
157186nCrunchTemp_ *
158187
@@ -294,6 +323,14 @@ node_modules/
294323# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295324* .vbw
296325
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+
297334# Visual Studio LightSwitch build output
298335** /* .HTMLClient /GeneratedArtifacts
299336** /* .DesktopClient /GeneratedArtifacts
@@ -303,22 +340,22 @@ node_modules/
303340_Pvt_Extensions
304341
305342# Paket dependency manager
306- .paket /paket.exe
343+ ** / .paket /paket.exe
307344paket-files /
308345
309346# FAKE - F# Make
310- .fake /
347+ ** / .fake /
311348
312349# CodeRush personal settings
313- .cr /personal
350+ ** / .cr /personal
314351
315352# Python Tools for Visual Studio (PTVS)
316- __pycache__ /
353+ ** / __pycache__ /
317354* .pyc
318355
319356# Cake - Uncomment if you are using it
320- # tools/**
321- # !tools/packages.config
357+ # tools/**
358+ # !tools/packages.config
322359
323360# Tabs Studio
324361* .tss
@@ -340,15 +377,22 @@ ASALocalRun/
340377
341378# MSBuild Binary and Structured Log
342379* .binlog
380+ MSBuild_Logs /
381+
382+ # AWS SAM Build and Temporary Artifacts folder
383+ .aws-sam
343384
344385# NVidia Nsight GPU debugger configuration file
345386* .nvuser
346387
347388# MFractors (Xamarin productivity tool) working folder
348- .mfractor /
389+ ** / .mfractor /
349390
350391# Local History for Visual Studio
351- .localhistory /
392+ ** /.localhistory /
393+
394+ # Visual Studio History (VSHistory) files
395+ .vshistory /
352396
353397# BeatPulse healthcheck temp database
354398healthchecksdb
@@ -357,8 +401,28 @@ healthchecksdb
357401MigrationBackup /
358402
359403# Ionide (cross platform F# VS Code tools) working folder
360- .ionide /
404+ ** / .ionide /
361405
362406# Fody - auto-generated XML schema
363407FodyWeavers.xsd
364- /Visual Studio 2022 /Visualizers
408+
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