From 6046eee7faf94bba9a38d73113f41d51c0c62d88 Mon Sep 17 00:00:00 2001 From: GwWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Wed, 10 Dec 2025 10:41:17 +0800 Subject: [PATCH] =?UTF-8?q?chore(build):=20=E8=B0=83=E6=95=B4=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=89=93=E5=8C=85=E9=85=8D=E7=BD=AE=E4=BB=A5=E6=94=AF?= =?UTF-8?q?=E6=8C=81Source=20Generator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除不再需要的RepositoryType属性 - 添加IncludeBuildOutput属性以控制构建输出 - 更新项目引用方式,将Source Generator作为Analyzer引入 - 配置打包目标,将Source Generator复制到nupkg的analyzers目录 - 优化项目排除逻辑,确保生成器相关文件不参与主项目编译 - 完善项目文件结构,提高可读性和维护性 --- GFramework.csproj | 50 +++++++++++++++++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 12 deletions(-) diff --git a/GFramework.csproj b/GFramework.csproj index c6b7f80..22072ad 100644 --- a/GFramework.csproj +++ b/GFramework.csproj @@ -13,7 +13,6 @@ MIT game;framework false - git true true true @@ -21,32 +20,59 @@ GFramework README.md net9.0;net8.0 + false - + + - - - + - - - + - + - + + - - \ No newline at end of file + + + + + + + + + <_GeneratorDll Include="..\GFramework.Generator\bin\$(Configuration)\netstandard2.0\GFramework.Generator.dll" /> + + + + + + + + + + + + +