From f2fb8942b783fc04e7d1500cc1a08636127665ea Mon Sep 17 00:00:00 2001 From: GwWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Sun, 28 Dec 2025 14:25:33 +0800 Subject: [PATCH] =?UTF-8?q?chore(build):=20=E7=BB=9F=E4=B8=80=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=20AssemblyName=20=E5=8F=98=E9=87=8F=E7=AE=80=E5=8C=96?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 PackageId 属性从硬编码名称改为 GeWuYou.$(AssemblyName) 模式 - 更新 GFramework.Godot 项目移除重复的 Product 属性 - 修改源代码生成器项目中的 ProjectReference 路径使用 AssemblyName 变量 - 更新源代码生成器项目中 DLL 文件引用使用 AssemblyName 变量 - 调整 targets 文件引用使用 AssemblyName 变量保持一致性 - 消除项目配置中的硬编码依赖提高维护性 --- GFramework.Game/GFramework.Game.csproj | 2 +- .../GFramework.Godot.SourceGenerators.csproj | 10 +++++----- GFramework.Godot/GFramework.Godot.csproj | 3 +-- .../GFramework.SourceGenerators.csproj | 14 +++++++------- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/GFramework.Game/GFramework.Game.csproj b/GFramework.Game/GFramework.Game.csproj index 8909dcf..dca43d0 100644 --- a/GFramework.Game/GFramework.Game.csproj +++ b/GFramework.Game/GFramework.Game.csproj @@ -1,7 +1,7 @@  - GeWuYou.GFramework.Game + GeWuYou.$(AssemblyName) net8.0;net9.0;net10.0 enable enable diff --git a/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj b/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj index d0c2e31..b24d6d2 100644 --- a/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj +++ b/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj @@ -1,7 +1,7 @@  - GeWuYou.GFramework.Godot.SourceGenerators + GeWuYou.$(AssemblyName) netstandard2.0 @@ -28,20 +28,20 @@ - + - - @@ -57,6 +57,6 @@ - + diff --git a/GFramework.Godot/GFramework.Godot.csproj b/GFramework.Godot/GFramework.Godot.csproj index e38e555..b186170 100644 --- a/GFramework.Godot/GFramework.Godot.csproj +++ b/GFramework.Godot/GFramework.Godot.csproj @@ -1,8 +1,7 @@  - GeWuYou.GFramework.Godot - GeWuYou.GFramework.Godot + GeWuYou.$(AssemblyName) enable enable net8.0;net9.0;net10.0 diff --git a/GFramework.SourceGenerators/GFramework.SourceGenerators.csproj b/GFramework.SourceGenerators/GFramework.SourceGenerators.csproj index e43c807..d02cbdc 100644 --- a/GFramework.SourceGenerators/GFramework.SourceGenerators.csproj +++ b/GFramework.SourceGenerators/GFramework.SourceGenerators.csproj @@ -1,7 +1,7 @@  - GeWuYou.GFramework.SourceGenerators + GeWuYou.$(AssemblyName) netstandard2.0 @@ -28,26 +28,26 @@ - - + + - - - @@ -58,6 +58,6 @@ - +