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
7+ * .rsuser
78* .suo
89* .user
910* .userosscache
1011* .sln.docstates
12+ * .env
1113
1214# User-specific files (MonoDevelop/Xamarin Studio)
1315* .userprefs
1416
17+ # Mono auto generated files
18+ mono_crash. *
19+
1520# Build results
1621[Dd ]ebug /
1722[Dd ]ebugPublic /
1823[Rr ]elease /
1924[Rr ]eleases /
20- x64 /
21- 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+
40+ [Ww ][Ii ][Nn ]32 /
41+ [Aa ][Rr ][Mm ]/
42+ [Aa ][Rr ][Mm ]64 /
43+ [Aa ][Rr ][Mm ]64 [Ee ][Cc ]/
2244bld /
23- [Bb ]in /
2445[Oo ]bj /
46+ [Oo ]ut /
2547[Ll ]og /
48+ [Ll ]ogs /
49+
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
2655
2756# Visual Studio 2015/2017 cache/options directory
2857.vs /
@@ -35,10 +64,15 @@ Generated\ Files/
3564# MSTest test Results
3665[Tt ]est [Rr ]esult * /
3766[Bb ]uild [Ll ]og. *
67+ * .trx
3868
39- # NUNIT
69+ # NUnit
4070* .VisualState.xml
4171TestResult.xml
72+ nunit- * .xml
73+
74+ # Approval Tests result files
75+ * .received. *
4276
4377# Build Results of an ATL Project
4478[Dd ]ebugPS /
@@ -52,42 +86,46 @@ BenchmarkDotNet.Artifacts/
5286project.lock.json
5387project.fragment.lock.json
5488artifacts /
55- ** /Properties /launchSettings.json
89+
90+ # ASP.NET Scaffolding
91+ ScaffoldingReadMe.txt
5692
5793# StyleCop
5894StyleCopReport.xml
5995
6096# Files built by Visual Studio
6197* _i.c
6298* _p.c
63- * _i .h
99+ * _h .h
64100* .ilk
65101* .meta
66102* .obj
103+ * .idb
67104* .iobj
68105* .pch
69106* .pdb
70107* .ipdb
71108* .pgc
72109* .pgd
73110* .rsp
111+ # but not Directory.Build.rsp, as it configures directory-level build defaults
112+ ! Directory.Build.rsp
74113* .sbr
75114* .tlb
76115* .tli
77116* .tlh
78117* .tmp
79118* .tmp_proj
119+ * _wpftmp.csproj
80120* .log
121+ * .tlog
81122* .vspscc
82123* .vssscc
83124.builds
84125* .pidb
85126* .svclog
86127* .scc
87128
88- # Include Cobalt Strike BOF.NET Beacon Object Files (BOFs)
89- ! Source /NoPowerShell /lib /BOF.NET /* /* .obj
90-
91129# Chutzpah Test files
92130_Chutzpah *
93131
@@ -122,9 +160,6 @@ _ReSharper*/
122160* . [Rr ]e [Ss ]harper
123161* .DotSettings.user
124162
125- # JustCode is a .NET coding add-in
126- .JustCode
127-
128163# TeamCity is a build add-in
129164_TeamCity *
130165
@@ -135,12 +170,18 @@ _TeamCity*
135170.axoCover /*
136171! .axoCover /settings.json
137172
173+ # Coverlet is a free, cross platform Code Coverage Tool
174+ coverage * .json
175+ coverage * .xml
176+ coverage * .info
177+
138178# Visual Studio code coverage results
139179* .coverage
140180* .coveragexml
141181
142182# NCrunch
143183_NCrunch_ *
184+ .NCrunch_ *
144185. * crunch * .local.xml
145186nCrunchTemp_ *
146187
@@ -182,6 +223,8 @@ PublishScripts/
182223
183224# NuGet Packages
184225* .nupkg
226+ # NuGet Symbol Packages
227+ * .snupkg
185228# The packages folder can be ignored because of Package Restore
186229** /[Pp ]ackages /*
187230# except build/, which is used as an MSBuild target.
@@ -206,12 +249,14 @@ BundleArtifacts/
206249Package.StoreAssociation.xml
207250_pkginfo.txt
208251* .appx
252+ * .appxbundle
253+ * .appxupload
209254
210255# Visual Studio cache files
211256# files ending in .cache can be ignored
212257* . [Cc ]ache
213258# but keep track of directories ending in .cache
214- ! * . [Cc ]ache /
259+ ! ? *. [Cc ]ache /
215260
216261# Others
217262ClientBin /
@@ -224,7 +269,7 @@ ClientBin/
224269* .publishsettings
225270orleans.codegen.cs
226271
227- # Including strong name files can present a security risk
272+ # Including strong name files can present a security risk
228273# (https://github.com/github/gitignore/pull/2483#issue-259490424)
229274# *.snk
230275
@@ -255,6 +300,9 @@ ServiceFabricBackup/
255300* .bim.layout
256301* .bim_ * .settings
257302* .rptproj.rsuser
303+ * - [Bb ]ackup.rdl
304+ * - [Bb ]ackup ( [0-9 ]).rdl
305+ * - [Bb ]ackup ( [0-9 ][0-9 ]).rdl
258306
259307# Microsoft Fakes
260308FakesAssemblies /
@@ -275,6 +323,14 @@ node_modules/
275323# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
276324* .vbw
277325
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+
278334# Visual Studio LightSwitch build output
279335** /* .HTMLClient /GeneratedArtifacts
280336** /* .DesktopClient /GeneratedArtifacts
@@ -284,26 +340,22 @@ node_modules/
284340_Pvt_Extensions
285341
286342# Paket dependency manager
287- .paket /paket.exe
343+ ** / .paket /paket.exe
288344paket-files /
289345
290346# FAKE - F# Make
291- .fake /
292-
293- # JetBrains Rider
294- .idea /
295- * .sln.iml
347+ ** /.fake /
296348
297- # CodeRush
298- .cr /
349+ # CodeRush personal settings
350+ ** / .cr /personal
299351
300352# Python Tools for Visual Studio (PTVS)
301- __pycache__ /
353+ ** / __pycache__ /
302354* .pyc
303355
304356# Cake - Uncomment if you are using it
305- # tools/**
306- # !tools/packages.config
357+ # tools/**
358+ # !tools/packages.config
307359
308360# Tabs Studio
309361* .tss
@@ -320,14 +372,60 @@ __pycache__/
320372# OpenCover UI analysis results
321373OpenCover /
322374
323- # Azure Stream Analytics local run output
375+ # Azure Stream Analytics local run output
324376ASALocalRun /
325377
326378# MSBuild Binary and Structured Log
327379* .binlog
380+ MSBuild_Logs /
381+
382+ # AWS SAM Build and Temporary Artifacts folder
383+ .aws-sam
328384
329385# NVidia Nsight GPU debugger configuration file
330386* .nvuser
331387
332- # MFractors (Xamarin productivity tool) working folder
333- .mfractor /
388+ # MFractors (Xamarin productivity tool) working folder
389+ ** /.mfractor /
390+
391+ # Local History for Visual Studio
392+ ** /.localhistory /
393+
394+ # Visual Studio History (VSHistory) files
395+ .vshistory /
396+
397+ # BeatPulse healthcheck temp database
398+ healthchecksdb
399+
400+ # Backup folder for Package Reference Convert tool in Visual Studio 2017
401+ MigrationBackup /
402+
403+ # Ionide (cross platform F# VS Code tools) working folder
404+ ** /.ionide /
405+
406+ # Fody - auto-generated XML schema
407+ FodyWeavers.xsd
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
429+
430+ # Include Cobalt Strike BOF.NET Beacon Object Files (BOFs)
431+ ! Source /NoPowerShell /lib /BOF.NET /* /* .obj
0 commit comments