From e82b7c85f37d66af2ec7166b93d4ebdd478a482e Mon Sep 17 00:00:00 2001 From: "Maddy Montaquila (Leger)" Date: Wed, 5 Mar 2025 17:51:17 +0000 Subject: [PATCH 1/5] First pass at dotnet gitignore --- Dotnet.gitignore | 161 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 Dotnet.gitignore diff --git a/Dotnet.gitignore b/Dotnet.gitignore new file mode 100644 index 00000000..f50eed6b --- /dev/null +++ b/Dotnet.gitignore @@ -0,0 +1,161 @@ +## A streamlined .gitignore for modern .NET projects +## including temporary files, build results, and +## files generated by popular .NET tools. If you are +## developing with Visual Studio, the VS .gitignore +## https://github.com/github/gitignore/blob/main/VisualStudio.gitignore +## has more thorough IDE-specific entries. +## +## Get latest from https://github.com/github/gitignore/blob/main/Dotnet.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Web workbench (sass) +.sass-cache/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Microsoft Fakes +FakesAssemblies/ + +# MSBuild Binary and Structured Log +*.binlog + +# Fody - auto-generated XML schema +FodyWeavers.xsd + +# VS and VS Code files for those working on multiple tools +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +.vs/* +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +# but not Directory.Build.rsp, as it configures directory-level build defaults +!Directory.Build.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.tlog +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc \ No newline at end of file From 9dec0796bfa298be973448191ee2d40c72c1c874 Mon Sep 17 00:00:00 2001 From: "Maddy Montaquila (Leger)" Date: Wed, 5 Mar 2025 20:09:09 +0000 Subject: [PATCH 2/5] MOAR --- Dotnet.gitignore | 125 +++++++++-------------------------------------- 1 file changed, 23 insertions(+), 102 deletions(-) diff --git a/Dotnet.gitignore b/Dotnet.gitignore index f50eed6b..8cf73ec4 100644 --- a/Dotnet.gitignore +++ b/Dotnet.gitignore @@ -7,13 +7,6 @@ ## ## Get latest from https://github.com/github/gitignore/blob/main/Dotnet.gitignore -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - # Build results [Dd]ebug/ [Dd]ebugPublic/ @@ -30,17 +23,18 @@ bld/ [Ll]og/ [Ll]ogs/ -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* +# VS and VS Code files for those working on multiple tools +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml +.vs/* -# Benchmark Results -BenchmarkDotNet.Artifacts/ +# OS Specifc +.DS_Store/* # .NET Core project.lock.json @@ -64,98 +58,25 @@ ScaffoldingReadMe.txt *.nuget.props *.nuget.targets -# Web workbench (sass) -.sass-cache/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates # Others -ClientBin/ ~$* *~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Microsoft Fakes -FakesAssemblies/ # MSBuild Binary and Structured Log *.binlog -# Fody - auto-generated XML schema -FodyWeavers.xsd +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* -# VS and VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -.vs/* -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -# but not Directory.Build.rsp, as it configures directory-level build defaults -!Directory.Build.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc \ No newline at end of file +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml \ No newline at end of file From 534b175305c50808e4ff7642c853bb7eff2e6364 Mon Sep 17 00:00:00 2001 From: "Maddy Montaquila (Leger)" Date: Wed, 5 Mar 2025 21:51:22 +0000 Subject: [PATCH 3/5] added rider .idea/ and removed obsolete vs files --- Dotnet.gitignore | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Dotnet.gitignore b/Dotnet.gitignore index 8cf73ec4..995a80ea 100644 --- a/Dotnet.gitignore +++ b/Dotnet.gitignore @@ -25,6 +25,7 @@ bld/ # VS and VS Code files for those working on multiple tools .vscode/* + !.vscode/settings.json !.vscode/tasks.json !.vscode/launch.json @@ -33,6 +34,9 @@ bld/ .vs/* +# Still usesd in VS for HTTP files and publish profiles +.user + # OS Specifc .DS_Store/* @@ -58,16 +62,10 @@ ScaffoldingReadMe.txt *.nuget.props *.nuget.targets -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - # Others ~$* *~ +CodeCoverage/ # MSBuild Binary and Structured Log *.binlog @@ -79,4 +77,7 @@ ScaffoldingReadMe.txt # NUnit *.VisualState.xml TestResult.xml -nunit-*.xml \ No newline at end of file +nunit-*.xml + +# JetBrains Rider +.idea/* \ No newline at end of file From dae35c0933f938c48b5fa96ebc8641c08974c0a2 Mon Sep 17 00:00:00 2001 From: "Maddy Montaquila (Leger)" Date: Wed, 5 Mar 2025 23:14:06 +0000 Subject: [PATCH 4/5] more tweaks --- Dotnet.gitignore | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Dotnet.gitignore b/Dotnet.gitignore index 995a80ea..27e5ac32 100644 --- a/Dotnet.gitignore +++ b/Dotnet.gitignore @@ -52,15 +52,6 @@ ScaffoldingReadMe.txt *.nupkg # NuGet Symbol Packages *.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets # Others ~$* From 1235fcdff576dde1c0b92c5bb69979a53ac46660 Mon Sep 17 00:00:00 2001 From: "Maddy Montaquila (Leger)" Date: Mon, 10 Mar 2025 17:48:37 +0000 Subject: [PATCH 5/5] removing OS and IDE specific content --- Dotnet.gitignore | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/Dotnet.gitignore b/Dotnet.gitignore index 27e5ac32..35063fc7 100644 --- a/Dotnet.gitignore +++ b/Dotnet.gitignore @@ -23,23 +23,6 @@ bld/ [Ll]og/ [Ll]ogs/ -# VS and VS Code files for those working on multiple tools -.vscode/* - -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -.vs/* - -# Still usesd in VS for HTTP files and publish profiles -.user - -# OS Specifc -.DS_Store/* - # .NET Core project.lock.json project.fragment.lock.json @@ -68,7 +51,4 @@ CodeCoverage/ # NUnit *.VisualState.xml TestResult.xml -nunit-*.xml - -# JetBrains Rider -.idea/* \ No newline at end of file +nunit-*.xml \ No newline at end of file