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

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
    <PlatformTarget>x64</PlatformTarget>
    <RuntimeIdentifier>win-x64</RuntimeIdentifier>
    <SelfContained>false</SelfContained>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
  </ItemGroup>

  <ItemGroup>
    <!-- G-Core SDK .NET Wrapper DLLs -->
    <Reference Include="GngExceptionsNET_SDK">
      <HintPath>C:\G-Core-SDK\Bin\x64\GngExceptionsNET_SDK.dll</HintPath>
    </Reference>
    <Reference Include="G-ActionsNET_SDK">
      <HintPath>C:\G-Core-SDK\Bin\x64\G-ActionsNET_SDK.dll</HintPath>
    </Reference>
    <Reference Include="GngDBINET_SDK">
      <HintPath>C:\G-Core-SDK\Bin\x64\GngDBINET_SDK.dll</HintPath>
    </Reference>
    <Reference Include="GngMediaPlayerNET_SDK">
      <HintPath>C:\G-Core-SDK\Bin\x64\GngMediaPlayerNET_SDK.dll</HintPath>
    </Reference>
    <Reference Include="GngActionsNET_SDK">
      <HintPath>C:\G-Core-SDK\Bin\x64\GngActionsNET_SDK.dll</HintPath>
    </Reference>
  </ItemGroup>

  <!-- Copy native DLLs to output directory -->
  <ItemGroup>
    <!-- Core SDK DLLs -->
    <None Include="C:\G-Core-SDK\Bin\x64\GngDBI.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\G-Core-SDK\Bin\x64\GngActions.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\G-Core-SDK\Bin\x64\GngMediaPlayer.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\G-Core-SDK\Bin\x64\GngMediaProcessor.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <!-- Compatibility DLLs -->
    <None Include="C:\G-Core-SDK\Bin\x64\GscDBI.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\G-Core-SDK\Bin\x64\GscActions.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\G-Core-SDK\Bin\x64\GLIBClassLib.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <!-- VCA DLLs -->
    <None Include="C:\G-Core-SDK\Bin\x64\GNGVCA.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\G-Core-SDK\Bin\x64\GngVCAPrimitives.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <!-- Intel Media SDK -->
    <None Include="C:\G-Core-SDK\Bin\x64\libmfxsw64.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <!-- Additional dependencies -->
    <None Include="C:\G-Core-SDK\Bin\x64\GngCenterPLC.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\G-Core-SDK\Bin\x64\GngMediaProcessorResources.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>

</Project>
