<?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"/>
        <Analyzer Include="$(MSBuildThisFileDirectory)../analyzers/dotnet/cs/GFramework.SourceGenerators.Common.dll"/>
    </ItemGroup>

    <!-- Ensure the analyzers are loaded -->
    <Target Name="EnsureGFrameworkAnalyzers" BeforeTargets="CoreCompile">
        <Message Text="Loading GFramework source generators" Importance="high"/>
    </Target>
</Project>