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

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net5.0</TargetFramework>
    <LangVersion>10.0</LangVersion>
    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    <RootNamespace>LibHacBuild</RootNamespace>
    <IsPackable>False</IsPackable>
    <NoWarn>CS0649;CS0169</NoWarn>
  </PropertyGroup>

  <ItemGroup>
    <PackageDownload Include="GitVersion.Tool" Version="[5.8.0]" />
    <PackageReference Include="CsvHelper" Version="26.0.1" />
    <PackageReference Include="NuGet.CommandLine" Version="5.8.1" />
    <PackageReference Include="Nuke.Common" Version="5.0.2" />
    <PackageReference Include="SharpZipLib" Version="1.3.1" />
  </ItemGroup>

  <ItemGroup>
    <NukeMetadata Include="**\*.json" Exclude="bin\**;obj\**" />
    <NukeExternalFiles Include="**\*.*.ext" Exclude="bin\**;obj\**" />
    <None Remove="*.csproj.DotSettings;*.ref.*.txt" />
    <EmbeddedResource Include="CodeGen\*.csv" />
    <Compile Remove="CodeGen\Stage2\**" />
    <Compile Remove="CodeGen\bin\**;CodeGen\obj\**" />
    <None Remove="CodeGen\bin\**;CodeGen\obj\**" />
  </ItemGroup>

</Project>