Languages

C# .dockerignore

.dockerignore for languages projects

View on GitHub

.dockerignore Content

# ============================================================================
# Created by https://dockerignore.com/
# LANGUAGE-SPECIFIC TEMPLATE for C#
# Website: https://dotnet.microsoft.com/en-us/languages/csharp
# Repository: https://github.com/dotnet/csharplang
# ============================================================================

# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: LANGUAGE-SPECIFIC TEMPLATE
# • PURPOSE: C#-specific ignore patterns
# • DESIGN PHILOSOPHY: Contains only C#-specific patterns (no security patterns)
# • COMBINATION GUIDANCE: Combine with framework or common templates as needed
# • SECURITY CONSIDERATIONS: Does NOT include security patterns (use common/security.dockerignore)
# • BEST PRACTICES: Combine with security template for complete protection
# • OFFICIAL SOURCES: C# community patterns and best practices

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# C# BUILD ARTIFACTS AND OUTPUT
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# C# build artifacts and output directories

**/docs/output/
**/out/

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# C# CACHE AND TEMPORARY FILES
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# C# cache and temporary files

TemporaryGeneratedFile_*.cs

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# C# TESTING AND COVERAGE
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# C# testing and coverage artifacts

*.coverage.xml
.coverage

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# C# PROJECT AND SOLUTION FILES
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# C# project, solution, and build configuration files

**/.nuget/
**/_gh_pages/
**/_ReSharper.*/
**/amd64/
**/AnyCPU/
**/arm64/
**/Debug/
**/docs/_site/
**/Help/
**/NuGet/
**/packages/
**/publish/
**/Release/
**/TestResults/
**/x64/
**/x86/
*.chm
*.crunchsolution
*.csproj.user
*.fsproj.user
*.ncrunchproject
*.resharper
*.resharper.user
*.sln.docstates
*.suo
*.testlog
*.testrunconfig
*.testsettings
*.trx
*.user
*.userosscache
*.vbproj.user
*.vcxproj.filters
*.vcxproj.user
*.vsmdi
*.vsp
*.vspscc
*.vspx
TestResult.xml

Note: This file is fetched from GitHub and cached for 7 days.