mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
chore(build): 更新源代码生成器路径引用
- 调整了项目文件中源代码生成器的相对路径 - 修正了生成器DLL文件的引用位置 - 确保打包时能正确包含分析器组件
This commit is contained in:
parent
6046eee7fa
commit
3678e5c4a1
@ -52,13 +52,13 @@
|
||||
<!-- 打包 Source Generator 到 nupkg 的 analyzers/ -->
|
||||
<Target Name="BuildGeneratorAndPackAnalyzers" BeforeTargets="Pack">
|
||||
<!-- 1. 构建 Source Generator 项目 -->
|
||||
<MSBuild Projects="..\GFramework.Generator\GFramework.Generator.csproj"
|
||||
<MSBuild Projects="GFramework.Generator\GFramework.Generator.csproj"
|
||||
Targets="Build"
|
||||
Properties="Configuration=$(Configuration)" />
|
||||
|
||||
<!-- 2. 找到 Generator DLL -->
|
||||
<ItemGroup>
|
||||
<_GeneratorDll Include="..\GFramework.Generator\bin\$(Configuration)\netstandard2.0\GFramework.Generator.dll" />
|
||||
<_GeneratorDll Include="GFramework.Generator\bin\$(Configuration)\netstandard2.0\GFramework.Generator.dll" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- 3. 复制到 obj/.../analyzers/netstandard2.0 -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user