<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <OutputType>Exe</OutputType>
    <RootNamespace>Reko.Tools.genPICdb</RootNamespace>
    <AssemblyName>genPICdb</AssemblyName>
    <StartupObject>Reko.Tools.genPICdb.Program</StartupObject>
    <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
    <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
    <Configurations>Debug;Release;UnixDebug;UnixRelease</Configurations>
  </PropertyGroup>
  <PropertyGroup>
    <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'UnixRelease|AnyCPU'">
    <OutputPath>bin\UnixRelease\</OutputPath>
    <DefineConstants>TRACE;PLATFORM_UNIX</DefineConstants>
    <Optimize>true</Optimize>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='UnixRelease|ARM64'">
    <OutputPath>bin\UnixRelease\</OutputPath>
    <DefineConstants>TRACE;PLATFORM_UNIX</DefineConstants>
    <Optimize>true</Optimize>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'UnixDebug|AnyCPU'">
    <OutputPath>bin\UnixDebug\</OutputPath>
    <DefineConstants>DEBUG;TRACE;PLATFORM_UNIX</DefineConstants>
    <Optimize>false</Optimize>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='UnixDebug|ARM64'">
    <OutputPath>bin\UnixDebug\</OutputPath>
    <DefineConstants>DEBUG;TRACE;PLATFORM_UNIX</DefineConstants>
    <Optimize>false</Optimize>
  </PropertyGroup>
  <PropertyGroup>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  </PropertyGroup>
  <ItemGroup>
    <None Include="App.config" />
    <None Include="genPICdb.licenseheader" />
    <None Include="picdb.zip" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\Core\Core.csproj">
    </ProjectReference>
    <ProjectReference Include="..\..\Libraries\Microchip\Utils\Microchip.Utils.csproj">
    </ProjectReference>
  </ItemGroup>
</Project>
