From 01c3d0d35a8be55ffca7ce4fca67135d9ae0f109 Mon Sep 17 00:00:00 2001 From: SmallFox <2806143047@qq.com> Date: Sat, 4 Apr 2026 22:04:07 +0800 Subject: 项目启航 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 请创建新项目和规划蓝图 --- .gitignore | 163 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 84 insertions(+), 79 deletions(-) (limited to '.gitignore') 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 -- cgit