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

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <!-- MediaFoundationRecorderSink is gated on MF_AVAILABLE â€” DON'T define
         it yet. The Vortice.MediaFoundation 3.6.2 API has materially changed
         from what the scaffold assumed (MFVersion / MF_LOW_LATENCY moved,
         IMFMediaType lost MajorType / SubType / AvgBitrate property setters,
         IMFMediaBuffer.Lock signature changed, Finalize_ renamed, etc.) so
         turning it on at the source level today won't compile. Tracked as
         a known issue in docs/REAL-TIME-RECORDING.md â€” when the scaffold is
         rewritten against the 3.6.2 surface, re-add the define here. -->
    <!-- <DefineConstants>$(DefineConstants);MF_AVAILABLE</DefineConstants> -->
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
    <PackageReference Include="Serilog" Version="4.0.0" />
    <PackageReference Include="Serilog.Extensions.Logging" Version="8.0.0" />
    <PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
    <PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
    <PackageReference Include="System.Reactive" Version="6.0.0" />
    <PackageReference Include="Vortice.MediaFoundation" Version="3.6.2" />
  </ItemGroup>

  <ItemGroup>
    <InternalsVisibleTo Include="Dragon-ISO.Engine.Tests" />
  </ItemGroup>

</Project>
