<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net10.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Akka" />
    <PackageReference Include="Akka.Cluster.Tools" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="../ZB.MOM.WW.ScadaBridge.Commons/ZB.MOM.WW.ScadaBridge.Commons.csproj" />
    <!-- Email delivery adapter reuses the NotificationService SMTP machinery
         (ISmtpClientWrapper, SmtpPermanentException, SmtpTlsModeParser,
         OAuth2TokenService). -->
    <ProjectReference Include="../ZB.MOM.WW.ScadaBridge.NotificationService/ZB.MOM.WW.ScadaBridge.NotificationService.csproj" />
  </ItemGroup>

  <ItemGroup>
    <InternalsVisibleTo Include="ZB.MOM.WW.ScadaBridge.NotificationOutbox.Tests" />
    <!--
      Audit Log #23 (M4 Bundle E — Task E2): the cross-project
      NotifyDispatcherAuditTrailTests need to drive the dispatcher loop
      deterministically via the internal InternalMessages.DispatchTick.Instance
      sentinel (same pattern the existing NotificationOutbox.Tests use).
    -->
    <InternalsVisibleTo Include="ZB.MOM.WW.ScadaBridge.AuditLog.Tests" />
  </ItemGroup>

</Project>
