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

  <PropertyGroup>
    <TargetFramework>net10.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
    <Version>1.0.0-build.$([System.DateTime]::UtcNow.ToString("yyyyMMddHHmmss"))</Version>
    <InformationalVersion>$(Version)</InformationalVersion>
    <!-- Good defaults for reverse-proxy scenarios -->
    <InvariantGlobalization>false</InvariantGlobalization>
    <DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
    <DisableStaticWebAssets>true</DisableStaticWebAssets>
    <RootNamespace>Api</RootNamespace>
    <GenerateDocumentationFile>true</GenerateDocumentationFile>
    <NoWarn>$(NoWarn);1591</NoWarn>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Azure.Extensions.AspNetCore.Configuration.Secrets" />
    <PackageReference Include="Azure.Identity" />
    <PackageReference Include="DotNetEnv" />
    <!-- MailKit removed — email sending delegated to email-api service -->
    <PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" />
    <PackageReference Include="Serilog.AspNetCore" />
    <PackageReference Include="Serilog.Enrichers.Environment" />
    <PackageReference Include="Serilog.Sinks.Email" />
    <PackageReference Include="Serilog.Sinks.File" />
    <PackageReference Include="Swashbuckle.AspNetCore" />
    <PackageReference Include="Swashbuckle.AspNetCore.Annotations" />
    <PackageReference Include="Refit.HttpClientFactory" />
  </ItemGroup>

  <ItemGroup>
    <Folder Include="logs\" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\api-models\api-models.csproj" />
    <ProjectReference Include="..\email-data\email-data.csproj" />
    <ProjectReference Include="..\email-api-models\email-api-models.csproj" />
    <ProjectReference Include="..\cv-matcher-api-models\cv-matcher-api-models.csproj" />
    <ProjectReference Include="..\common\common.csproj" />
      <ProjectReference Include="..\..\Helpers\startup-helpers\startup-helpers.csproj" />
      <ProjectReference Include="..\myai-data\myai-data.csproj" />
</ItemGroup>

</Project>
