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

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

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

  <ItemGroup>
    <!-- GeViScope SDK .NET Wrapper DLLs -->
    <Reference Include="GscExceptionsNET_4_0">
      <HintPath>C:\Program Files (x86)\GeViScopeSDK\BIN\GscExceptionsNET_4_0.dll</HintPath>
    </Reference>
    <Reference Include="GscActionsNET_4_0">
      <HintPath>C:\Program Files (x86)\GeViScopeSDK\BIN\GscActionsNET_4_0.dll</HintPath>
    </Reference>
    <Reference Include="GscDBINET_4_0">
      <HintPath>C:\Program Files (x86)\GeViScopeSDK\BIN\GscDBINET_4_0.dll</HintPath>
    </Reference>
    <Reference Include="GscMediaPlayerNET_4_0">
      <HintPath>C:\Program Files (x86)\GeViScopeSDK\BIN\GscMediaPlayerNET_4_0.dll</HintPath>
    </Reference>
  </ItemGroup>

  <!-- Copy native DLLs to output directory -->
  <ItemGroup>
    <!-- Core SDK DLLs -->
    <None Include="C:\Program Files (x86)\GeViScopeSDK\BIN\GscDBI.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\Program Files (x86)\GeViScopeSDK\BIN\GscActions.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\Program Files (x86)\GeViScopeSDK\BIN\GscMediaPlayer.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\Program Files (x86)\GeViScopeSDK\BIN\GscHelper.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\Program Files (x86)\GeViScopeSDK\BIN\GscDecompressor.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <!-- MediaPlayer dependencies -->
    <None Include="C:\Program Files (x86)\GeViScopeSDK\BIN\GscMediaAPI.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\Program Files (x86)\GeViScopeSDK\BIN\GscJpegEncoder.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\Program Files (x86)\GeViScopeSDK\BIN\ijl15.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\Program Files (x86)\GeViScopeSDK\BIN\MPIWIN32.DLL">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\Program Files (x86)\GeViScopeSDK\BIN\GLDModule.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\Program Files (x86)\GeViScopeSDK\BIN\MscDBI.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="C:\Program Files (x86)\GeViScopeSDK\BIN\IntVidCompressor.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>

</Project>
