conditional references for Avalonia.Diagnostics.
MODIFY
WalletWasabi.Fluent/WalletWasabi.Fluent.csproj
WalletWasabi.Fluent/WalletWasabi.Fluent.csproj
<ItemGroup>
<PackageReference Include="Avalonia" Version="0.10.8" />
<PackageReference Include="Avalonia.ReactiveUI" Version="0.10.8" />
- <PackageReference Include="Avalonia.Diagnostics" Version="0.10.8" />
+ <PackageReference Include="Avalonia.Diagnostics" Version="0.10.8" Condition="'$(Configuration)' == 'Debug'" />
<PackageReference Include="Avalonia.Xaml.Behaviors" Version="0.10.8" />
<PackageReference Include="OpenCvSharp4" Version="4.5.2.20210404" />
<PackageReference Include="OpenCvSharp4.runtime.win" Version="4.5.2.20210404" />

conditional references for Avalonia.Diagnostics.