From fc88d908be408d166c0202b2daf34066a9bcd2b6 Mon Sep 17 00:00:00 2001 From: GwWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Sat, 27 Dec 2025 21:11:42 +0800 Subject: [PATCH] =?UTF-8?q?refactor(build):=20=E4=BC=98=E5=8C=96=E6=BA=90?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E5=99=A8=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 GeneratePackageOnBuild 和 IsRoslynComponent 配置项 - 统一设置 IncludeBuildOutput 为 false 以避免运行时库输出 - 更新 Microsoft.CodeAnalysis.Analyzers 版本至 4.14.0 - 为所有项目引用添加 PrivateAssets="all" 属性 - 简化打包配置,只将生成器 DLL 打包到 analyzers 目录 - 添加中文注释说明各配置项的作用和用途 --- .../GFramework.Godot.SourceGenerators.csproj | 42 +++++++++---------- .../GFramework.SourceGenerators.csproj | 38 ++++++++--------- 2 files changed, 37 insertions(+), 43 deletions(-) diff --git a/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj b/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj index fd688e5..41bc1f3 100644 --- a/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj +++ b/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj @@ -3,42 +3,38 @@ GeWuYou.GFramework.Godot.SourceGenerators netstandard2.0 - true - true - latest - true - - true - + + true false - + + latest + + true Generated - true + - - + + + - - + - + + - - - - - - - + + diff --git a/GFramework.SourceGenerators/GFramework.SourceGenerators.csproj b/GFramework.SourceGenerators/GFramework.SourceGenerators.csproj index 7cc61f7..37b5ec8 100644 --- a/GFramework.SourceGenerators/GFramework.SourceGenerators.csproj +++ b/GFramework.SourceGenerators/GFramework.SourceGenerators.csproj @@ -3,41 +3,39 @@ GeWuYou.GFramework.SourceGenerators netstandard2.0 - true - true - latest - true - - true - + + true false - + + latest + enable + + true Generated - true - enable + + - - + + - - + - + - - - +