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

  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>netcoreapp3.1</TargetFramework>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Release'">
    <PublishSingleFile>false</PublishSingleFile>
    <PublishTrimmed>false</PublishTrimmed>
  </PropertyGroup>
  <PropertyGroup>
    <CFBundleShortVersionString>1.0.0</CFBundleShortVersionString>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="Types.fs" />
    <Compile Include="ffmpeg.fs" />
    <Compile Include="Dialogs.fs" />
    <Compile Include="VideoFiles.fs" />
    <Compile Include="Main.fs" />
    <Compile Include="Program.fs" />
    <AvaloniaResource Include="**\*.xaml" />
    <Content Condition="'$(RuntimeIdentifier)'!=''" CopyToOutputDirectory="PreserveNewest" Include="ffmpeg-bin/$(RuntimeIdentifier)/ffmpeg" />
  </ItemGroup>

  <ItemGroup />

  <ItemGroup>
    <PackageReference Include="Avalonia.Desktop" Version="0.9.2" />
    <PackageReference Include="FSharp.Control.Reactive" Version="4.2.0" />
    <PackageReference Include="JaggerJo.Avalonia.FuncUI" Version="0.2.0" />
    <PackageReference Include="JaggerJo.Avalonia.FuncUI.DSL" Version="0.2.0" />
    <PackageReference Include="JaggerJo.Avalonia.FuncUI.Elmish" Version="0.2.0" />
    <PackageReference Include="xFFmpeg.NET" Version="3.4.0" />
    <PackageReference Include="Dotnet.Bundle" Version="0.9.13" />
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Remove=".template.config\**" />
  </ItemGroup>

</Project>
