aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorSmallFox <2806143047@qq.com>2026-04-04 22:04:07 +0800
committerSmallFox <2806143047@qq.com>2026-04-04 22:04:07 +0800
commit01c3d0d35a8be55ffca7ce4fca67135d9ae0f109 (patch)
tree2b13f06868f06921b05a2eee2f9056b9c45fb721 /.gitignore
parentea0f627e973dbaf3e44f8460a2c3af819fb18b99 (diff)
项目启航
请创建新项目和规划蓝图
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore163
1 files changed, 84 insertions, 79 deletions
diff --git a/.gitignore b/.gitignore
index 19a17fd..ef9f5f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,82 +1,87 @@
-# This .gitignore file should be placed at the root of your Unity project directory
-#
-# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
-#
-/[Ll]ibrary/
-/[Tt]emp/
-/[Oo]bj/
-/[Bb]uild/
-/[Bb]uilds/
-/[Ll]ogs/
-/[Uu]ser[Ss]ettings/
-
-# MemoryCaptures can get excessive in size.
-# They also could contain extremely sensitive data
-/[Mm]emoryCaptures/
-
-# Recordings can get excessive in size
-/[Rr]ecordings/
-
-# Uncomment this line if you wish to ignore the asset store tools plugin
-# /[Aa]ssets/AssetStoreTools*
-
-# Autogenerated Jetbrains Rider plugin
-/[Aa]ssets/Plugins/Editor/JetBrains*
-
-# Visual Studio cache directory
+# ==============================================
+# C# Windows 窗体应用专用 .gitignore
+# 适配:.NET Framework / .NET Core / .NET 5+ WinForms
+# ==============================================
+
+# --------------------------
+# 1. 编译输出目录 (核心忽略)
+# --------------------------
+[Bb]in/
+[Oo]bj/
+[Rr]elease/
+[Dd]ebug/
+x64/
+x86/
+publish/
+out/
+
+# --------------------------
+# 2. NuGet 包与依赖
+# --------------------------
+**/packages/
+**/node_modules/
+*.nupkg
+*.snupkg
+.project
+.nuget/
+!**/packages.config
+
+# --------------------------
+# 3. Visual Studio 临时文件
+# --------------------------
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+*.ide/
.vs/
-
-# idea
-.idea/
-
-# vscode
.vscode/
-
-# Gradle cache directory
-.gradle/
-
-# Autogenerated VS/MD/Consulo solution and project files
-ExportedObj/
-.consulo/
-*.csproj
-*.unityproj
-*.sln
-*.slnx
-*.suo
+.idea/
+*.dotCover
+*.OpenCover
+*.testsettings
+*.settings
+
+# --------------------------
+# 4. 日志、缓存、临时文件
+# --------------------------
+*.log
*.tmp
-*.user
-*.userprefs
-*.pidb
-*.booproj
-*.svd
-*.pdb
-*.mdb
-*.opendb
-*.VC.db
-
-# Unity3D generated meta files
-*.pidb.meta
-*.pdb.meta
-*.mdb.meta
-
-# Unity3D generated file on crash reports
-sysinfo.txt
-
-# Builds
-*.apk
-*.aab
-*.unitypackage
-*.app
-
-# Crashlytics generated file
-crashlytics-build.properties
-
-# Packed Addressables
-/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*
-
-# Temporary auto-generated Android Assets
-/[Aa]ssets/[Ss]treamingAssets/aa.meta
-/[Aa]ssets/[Ss]treamingAssets/aa/*
-
-# Game resources
-Export/
+*.temp
+*.cache
+*.pidc
+*.vspscc
+*.vssscc
+*.gpState
+*.ideprj
+*.psess
+*.svclog
+
+# --------------------------
+# 5. 生成的资源/设计器文件
+# --------------------------
+# 保留手动编写的代码,忽略自动生成的编译文件
+*.resources
+*.Designer.cs~
+*.resx~
+
+# --------------------------
+# 6. 系统/编辑器无关文件
+# --------------------------
+Thumbs.db
+.DS_Store
+desktop.ini
+*.swp
+*.swo
+*~
+
+# --------------------------
+# 7. 发布/安装包文件
+# --------------------------
+*.exe
+*.dll
+*.msi
+*.cab
+*.zip
+*.rar
+*.tar.gz \ No newline at end of file