From c5a11820bccf69da61ac65b443506230e9b3054d Mon Sep 17 00:00:00 2001 From: GwWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Sat, 27 Dec 2025 23:05:44 +0800 Subject: [PATCH] =?UTF-8?q?build(generator):=20=E6=B7=BB=E5=8A=A0=E6=BA=90?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E5=99=A8=E7=9A=84=20MSBuil?= =?UTF-8?q?d=20targets=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 GFramework.Godot.SourceGenerators 创建 GeWuYou.GFramework.Godot.SourceGenerators.targets 文件 - 为 GFramework.SourceGenerators 创建 GeWuYou.GFramework.SourceGenerators.targets 文件 - 在项目中启用 EnforceExtendedAnalyzerRules 规则 - 修正项目引用路径配置 - 更新包打包配置以包含正确的 targets 文件 - 从 GFramework.csproj 中移除多余的 targets 文件排除配置 --- .../GFramework.Godot.SourceGenerators.csproj | 5 +++-- ...uYou.GFramework.Godot.SourceGenerators.targets | 15 +++++++++++++++ .../GFramework.SourceGenerators.csproj | 3 ++- .../GeWuYou.GFramework.SourceGenerators.targets | 15 +++++++++++++++ GFramework.csproj | 1 - 5 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 GFramework.Godot.SourceGenerators/GeWuYou.GFramework.Godot.SourceGenerators.targets create mode 100644 GFramework.SourceGenerators/GeWuYou.GFramework.SourceGenerators.targets diff --git a/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj b/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj index 0b86717..c62f58b 100644 --- a/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj +++ b/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj @@ -14,6 +14,7 @@ true Generated + true @@ -27,7 +28,7 @@ - + @@ -48,6 +49,6 @@ - + diff --git a/GFramework.Godot.SourceGenerators/GeWuYou.GFramework.Godot.SourceGenerators.targets b/GFramework.Godot.SourceGenerators/GeWuYou.GFramework.Godot.SourceGenerators.targets new file mode 100644 index 0000000..d1196d5 --- /dev/null +++ b/GFramework.Godot.SourceGenerators/GeWuYou.GFramework.Godot.SourceGenerators.targets @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GFramework.SourceGenerators/GFramework.SourceGenerators.csproj b/GFramework.SourceGenerators/GFramework.SourceGenerators.csproj index a71a78a..86fc3f2 100644 --- a/GFramework.SourceGenerators/GFramework.SourceGenerators.csproj +++ b/GFramework.SourceGenerators/GFramework.SourceGenerators.csproj @@ -14,6 +14,7 @@ true Generated + true @@ -49,6 +50,6 @@ - + diff --git a/GFramework.SourceGenerators/GeWuYou.GFramework.SourceGenerators.targets b/GFramework.SourceGenerators/GeWuYou.GFramework.SourceGenerators.targets new file mode 100644 index 0000000..1bfd5a0 --- /dev/null +++ b/GFramework.SourceGenerators/GeWuYou.GFramework.SourceGenerators.targets @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GFramework.csproj b/GFramework.csproj index 7f09c1d..bbdeb31 100644 --- a/GFramework.csproj +++ b/GFramework.csproj @@ -43,7 +43,6 @@ -