<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <RootNamespace>foodmarket.Api</RootNamespace>
    <AssemblyName>foodmarket.Api</AssemblyName>
    <UserSecretsId>food-market-api</UserSecretsId>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\food-market.domain\food-market.domain.csproj" />
    <ProjectReference Include="..\food-market.application\food-market.application.csproj" />
    <ProjectReference Include="..\food-market.infrastructure\food-market.infrastructure.csproj" />
    <ProjectReference Include="..\food-market.shared\food-market.shared.csproj" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.OpenApi" />
    <PackageReference Include="Swashbuckle.AspNetCore" />
    <PackageReference Include="OpenIddict.AspNetCore" />
    <PackageReference Include="Serilog.AspNetCore" />
    <PackageReference Include="Serilog.Sinks.Console" />
    <PackageReference Include="Serilog.Sinks.File" />
    <PackageReference Include="Hangfire.AspNetCore" />
    <PackageReference Include="Hangfire.PostgreSql" />
    <PackageReference Include="CsvHelper" />
    <PackageReference Include="ClosedXML" />
    <PackageReference Include="prometheus-net.AspNetCore" />
    <PackageReference Include="MediatR" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" />
  </ItemGroup>

  <ItemGroup>
    <!-- Email-шаблоны embedded в сборку — см. EmailTemplates.LoadRaw. -->
    <EmbeddedResource Include="Resources/EmailTemplates/*.html" />
  </ItemGroup>
</Project>
