<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net5.0-windows</TargetFramework>
    <LangVersion>9.0</LangVersion>
    <Nullable>enable</Nullable>
    <GeneratePackageOnBuild>false</GeneratePackageOnBuild>
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
    <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
    <NoWarn>3021,1591</NoWarn>
    <DefineConstants>TRACE;RELEASE</DefineConstants>
    <DebugType>pdbonly</DebugType>
    <DebugSymbols>true</DebugSymbols>
    <DocumentationFile>MyFlat.Base.xml</DocumentationFile>
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
    <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
    <NoWarn>3021,1591</NoWarn>
    <DefineConstants>TRACE</DefineConstants>
    <DebugType>pdbonly</DebugType>
    <DebugSymbols>true</DebugSymbols>
    <DocumentationFile>MyFlat.Base.xml</DocumentationFile>
  </PropertyGroup>

  <ItemGroup>
    <Reference Include="CommonHelpers">
      <HintPath>$(HandicraftSDK_Root)\DotNetHelpers\Assemblies\.WIN32\CommonHelpers.dll</HintPath>
      <Private>true</Private>
    </Reference>
    <Reference Include="CommonHelpers.3">
      <HintPath>$(HandicraftSDK_Root)\DotNetHelpers\Assemblies\.WIN32\CommonHelpers.3.dll</HintPath>
      <Private>true</Private>
    </Reference>
<!--
    <Reference Include="CommonHelpers">
      <HintPath>..\AssemblyRef\DotNetHelpers\.WIN32\CommonHelpers.dll</HintPath>
      <Private>false</Private>
    </Reference>
    <Reference Include="CommonHelpers.3">
      <HintPath>..\AssemblyRef\DotNetHelpers\.WIN32\CommonHelpers.3.dll</HintPath>
      <Private>false</Private>
    </Reference>
-->
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="System.Data.SqlClient" Version="4.8.2" />
  </ItemGroup>

  <ItemGroup>
    <Compile Include="..\QUERIES (ORM)\**\*.cs" />
  </ItemGroup>

  <ItemGroup>
    <None Remove="*.cmd" />
    <None Remove="*.bak" />
  </ItemGroup>

</Project>
