mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
- 将 ClassMustBePartial 诊断描述符移至 CommonDiagnostics 类 - 更新 GodotLoggerGenerator 和 LoggerGenerator 引用通用诊断 - 添加 ContextAwareGenerator 实现上下文感知功能 - 创建 ContextAwareAttribute 标记需要自动实现 IContextAware 的类 - 在项目中添加对 GFramework.SourceGenerators.Common 的引用 - 更新诊断规则 ID 命名规范 - 修复 AnalyzerReleases 文件格式 - 添加 nullable enable 配置 - 在解决方案文件中添加新项目引用
93 lines
4.6 KiB
XML
93 lines
4.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<PackageId>GeWuYou.GFramework</PackageId>
|
|
<Authors>gewuyou</Authors>
|
|
<Product>GeWuYou.GFramework</Product>
|
|
<Description>404 not found</Description>
|
|
<Copyright>Copyright © 2025</Copyright>
|
|
<RepositoryUrl>https://github.com/GeWuYou/GFramework</RepositoryUrl>
|
|
<PackageProjectUrl>https://github.com/GeWuYou/GFramework</PackageProjectUrl>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
<PackageTags>game;framework</PackageTags>
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
<IncludeSymbols>false</IncludeSymbols>
|
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
|
|
<IncludeBuildOutput>false</IncludeBuildOutput>
|
|
</PropertyGroup>
|
|
|
|
<!-- 排除不需要参与打包/编译的目录 -->
|
|
<ItemGroup>
|
|
<None Include="README.md" Pack="true" PackagePath=""/>
|
|
<None Remove="GFramework.Core\**"/>
|
|
<None Remove="GFramework.Game\**"/>
|
|
<None Remove="GFramework.Godot\**"/>
|
|
<None Update="GFramework.SourceGenerators\bin\Debug\netstandard2.0\GFramework.Generator.Attributes.dll">
|
|
<Link>GFramework.SorceGenerators\bin\Debug\netstandard2.0\GFramework.Generator.Attributes.dll</Link>
|
|
</None>
|
|
<None Update="GFramework.SourceGenerators\logging\README.md">
|
|
<Link>GFramework.SorceGenerators\logging\README.md</Link>
|
|
</None>
|
|
<None Update="GFramework.SourceGenerators\README.md">
|
|
<Link>GFramework.SorceGenerators\README.md</Link>
|
|
</None>
|
|
<None Update="GFramework.SourceGenerators\AnalyzerReleases.Shipped.md">
|
|
<Link>GFramework.SorceGenerators\AnalyzerReleases.Shipped.md</Link>
|
|
</None>
|
|
<None Update="GFramework.SourceGenerators\AnalyzerReleases.Unshipped.md">
|
|
<Link>GFramework.SorceGenerators\AnalyzerReleases.Unshipped.md</Link>
|
|
</None>
|
|
<None Remove="GFramework.Godot.SourceGenerators\**"/>
|
|
<None Remove="GFramework.Godot.SourceGenerators.Attributes\**"/>
|
|
<None Remove="GFramework.SorceGenerators\**"/>
|
|
<None Remove="GFramework.SourceGenerators\**"/>
|
|
<None Remove="GFramework.SourceGenerators.Attributes\**"/>
|
|
<None Remove="GFramework.SourceGenerators.Common\**"/>
|
|
</ItemGroup>
|
|
<!-- 聚合核心模块 -->
|
|
<ItemGroup>
|
|
<ProjectReference Include="GFramework.Core\GFramework.Core.csproj"/>
|
|
<ProjectReference Include="GFramework.Game\GFramework.Game.csproj"/>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Remove="GFramework.Core\**"/>
|
|
<Compile Remove="GFramework.Game\**"/>
|
|
<Compile Remove="GFramework.Godot\**"/>
|
|
<Compile Update="GFramework.SourceGenerators\enums\EnumExtensionsGenerator.cs">
|
|
<Link>GFramework.SorceGenerators\enums\EnumExtensionsGenerator.cs</Link>
|
|
</Compile>
|
|
<Compile Update="GFramework.SourceGenerators\logging\Diagnostic.cs">
|
|
<Link>GFramework.SorceGenerators\logging\Diagnostic.cs</Link>
|
|
</Compile>
|
|
<Compile Update="GFramework.SourceGenerators\logging\LoggerGenerator.cs">
|
|
<Link>GFramework.SorceGenerators\logging\LoggerGenerator.cs</Link>
|
|
</Compile>
|
|
<Compile Remove="GFramework.Godot.SourceGenerators\**"/>
|
|
<Compile Remove="GFramework.Godot.SourceGenerators.Attributes\**"/>
|
|
<Compile Remove="GFramework.SorceGenerators\**"/>
|
|
<Compile Remove="GFramework.SourceGenerators\**"/>
|
|
<Compile Remove="GFramework.SourceGenerators.Attributes\**"/>
|
|
<Compile Remove="GFramework.SourceGenerators.Common\**"/>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Remove="GFramework.Core\**"/>
|
|
<EmbeddedResource Remove="GFramework.Game\**"/>
|
|
<EmbeddedResource Remove="GFramework.Godot\**"/>
|
|
<EmbeddedResource Remove="GFramework.Godot.SourceGenerators\**"/>
|
|
<EmbeddedResource Remove="GFramework.Godot.SourceGenerators.Attributes\**"/>
|
|
<EmbeddedResource Remove="GFramework.SorceGenerators\**"/>
|
|
<EmbeddedResource Remove="GFramework.SourceGenerators\**"/>
|
|
<EmbeddedResource Remove="GFramework.SourceGenerators.Attributes\**"/>
|
|
<EmbeddedResource Remove="GFramework.SourceGenerators.Common\**"/>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.14.0"/>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<AdditionalFiles Remove="AnalyzerReleases.Shipped.md"/>
|
|
<AdditionalFiles Remove="AnalyzerReleases.Unshipped.md"/>
|
|
</ItemGroup>
|
|
</Project>
|