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

  <!--
    DTOs shared between the API and the desktop client. This assembly, not the generated
    OpenAPI document, is the real client contract, so PublicApiAnalyzers is enabled here
    and only here: an accidental change to a public member becomes a build error rather
    than a runtime deserialisation failure on somebody's laptop.

    Track additions in PublicAPI.Unshipped.txt; move them to PublicAPI.Shipped.txt when a
    version is released.
  -->

  <PropertyGroup>
    <GenerateDocumentationFile>true</GenerateDocumentationFile>
    <IsTrimmable>true</IsTrimmable>
    <IsAotCompatible>true</IsAotCompatible>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" PrivateAssets="all" />
  </ItemGroup>

  <ItemGroup>
    <AdditionalFiles Include="PublicAPI.Shipped.txt" />
    <AdditionalFiles Include="PublicAPI.Unshipped.txt" />
  </ItemGroup>

</Project>
