mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 19:03:29 +08:00
- 将TargetFramework从net10.0更改为netstandard2.0以提高兼容性 - 添加必要的using语句(System和System.Linq)到GodotLoggerGenerator - 配置项目属性以支持Roslyn分析器功能,包括GeneratePackageOnBuild、 IsRoslynAnalyzer等设置 - 添加EnforceExtendedAnalyzerRules以启用扩展规则验证 - 配置项目引用GFramework.Godot.SourceGenerators.Attributes并设置 PrivateAssets="all"避免运行时依赖 - 设置打包配置将生成器DLL打包为analyzers/dotnet/cs路径 - 修正GodotLogAttribute命名空间为GFramework.Godot.SourceGenerators.Attributes.logging - 更新PackageId为GeWuYou.GFramework.SourceGenerators.Attributes - 移除不必要的PackageReadmeFile配置
12 lines
413 B
XML
12 lines
413 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
<PackageId>GeWuYou.GFramework.SourceGenerators.Attributes</PackageId>
|
|
<Version>1.0.0</Version>
|
|
<LangVersion>10</LangVersion>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.14.0" />
|
|
</ItemGroup>
|
|
</Project>
|