mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
- 为 GFramework.Godot.SourceGenerators 创建 GeWuYou.GFramework.Godot.SourceGenerators.targets 文件 - 为 GFramework.SourceGenerators 创建 GeWuYou.GFramework.SourceGenerators.targets 文件 - 在项目中启用 EnforceExtendedAnalyzerRules 规则 - 修正项目引用路径配置 - 更新包打包配置以包含正确的 targets 文件 - 从 GFramework.csproj 中移除多余的 targets 文件排除配置
15 lines
764 B
XML
15 lines
764 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<!-- This file is automatically generated by the NuGet package -->
|
|
<!-- It ensures that the source generators are properly registered during build -->
|
|
|
|
<ItemGroup>
|
|
<Analyzer Include="$(MSBuildThisFileDirectory)../analyzers/dotnet/cs/GFramework.SourceGenerators.dll"/>
|
|
<Analyzer Include="$(MSBuildThisFileDirectory)../analyzers/dotnet/cs/GFramework.SourceGenerators.Abstractions.dll"/>
|
|
</ItemGroup>
|
|
|
|
<!-- Ensure the analyzers are loaded -->
|
|
<Target Name="EnsureGFrameworkAnalyzers" BeforeTargets="CoreCompile">
|
|
<Message Text="Loading GFramework source generators" Importance="high"/>
|
|
</Target>
|
|
</Project> |