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

  <PropertyGroup>
    <Configurations>DebugCoreOnly;DebugWinforms;ReleaseCoreOnly;ReleaseWinforms</Configurations>
    <ImplicitUsings>enable</ImplicitUsings>
    <FileVersion>1.0.0.100</FileVersion>
    <Version>1.0.0.0</Version>
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)'=='DebugCoreOnly' Or '$(Configuration)'=='ReleaseCoreOnly'">
    <TargetFramework>net10.0</TargetFramework>
    <UseMaui>false</UseMaui>
    <UseWindowsForms>false</UseWindowsForms>
    <EnableDefaultCssItems>false</EnableDefaultCssItems>
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)'=='DebugWinforms' Or '$(Configuration)'=='ReleaseWinforms'">
    <TargetFramework>net10.0-windows</TargetFramework>
    <UseWindowsForms>true</UseWindowsForms>
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)'=='DebugCoreOnly'">
    <DefineConstants>TRACE;DEBUG;COREONLY</DefineConstants>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='ReleaseCoreOnly'">
    <DefineConstants>TRACE;COREONLY</DefineConstants>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='DebugWinforms'">
    <DefineConstants>TRACE;DEBUG;WINFORMS</DefineConstants>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='ReleaseWinforms'">
    <DefineConstants>TRACE;WINFORMS</DefineConstants>
  </PropertyGroup>
 
  <ItemGroup>
    <PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
    <PackageReference Include="Microsoft.Data.SqlClient" Version="$(MicrosoftDataSqlClientVersion)" />
  </ItemGroup>
   <PropertyGroup>
    <SatelliteResourceLanguages>en;fr;nl;de</SatelliteResourceLanguages>
  </PropertyGroup>

  <ItemGroup Condition="'$(Configuration)'=='DebugCoreOnly' Or '$(Configuration)'=='ReleaseCoreOnly'">
    <Reference Include="MercatorTunnel">
      <HintPath>…\fw100CoreOnly\MercatorTunnel.dll</HintPath>
    </Reference>
    <Reference Include="MercatorUi">
      <HintPath>…\fw100CoreOnly\MercatorUi.dll</HintPath>
    </Reference>
    <Reference Include="MercatorBlazorComponents">
      <HintPath>…\fw100CoreOnly\MercatorBlazorComponents.dll</HintPath>
    </Reference>
    <Reference Include="MercatorPelican">
      <HintPath>…\fw100CoreOnly\MercatorPelican.dll</HintPath>
    </Reference>
    <FrameworkReference Include="Microsoft.AspNetCore.App" />
  </ItemGroup>

  <ItemGroup Condition="'$(Configuration)'=='DebugWinforms' Or '$(Configuration)'=='ReleaseWinforms'">
    <PackageReference Include="Microsoft.AspNetCore.Components.WebView.WindowsForms" Version="$(MicrosoftMauiControlsVersion)" />
    <Reference Include="MercatorTunnel">
      <HintPath>…\fw100Winforms\MercatorTunnel.dll</HintPath>
    </Reference>
    <Reference Include="MercatorUi">
      <HintPath>…\fw100Winforms\MercatorUi.dll</HintPath>
    </Reference>
    <Reference Include="MercatorBlazorComponents">
      <HintPath>…\fw100Winforms\MercatorBlazorComponents.dll</HintPath>
    </Reference>
    <Reference Include="MercatorPelican">
      <HintPath>…\fw100Winforms\MercatorPelican.dll</HintPath>
    </Reference>
  </ItemGroup>
 
</Project>