A wrapper around `dotnet build` earns nothing, so build.ps1/build.sh are the full local gate instead — tool restore, package restore, format check, build, test — in the order that fails cheapest first, with a non-zero exit on failure. run.ps1/run.sh default to Debug and pass extra arguments through to the app. Both flavours ship because the Desktop head targets Windows, Linux and macOS. Writing them immediately paid for itself: the very first run failed restore on Avalonia.Diagnostics 12.1.1, which does not exist — the package stops at 11.3.x because Avalonia 12 moved the inspector into a separate tool with its own installation. The reference had survived because it sat behind Condition="'$(Configuration)' == 'Debug'", and `dotnet restore` evaluates with the default configuration while every build so far had passed -c Release. So `dotnet build -c Release` worked and a bare `dotnet restore` did not. Reference removed rather than replaced: AvaloniaUI.DiagnosticsSupport pulls in a separately installed tool, which is not a dependency to add to a skeleton without asking. README and CLAUDE.md no longer promise F12, and both traps are written down where the next person will hit them. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
63 lines
3.1 KiB
XML
63 lines
3.1 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
|
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Label="Version groups">
|
|
<!-- ReactiveUI.Avalonia versions in lockstep with Avalonia, so one knob moves both. -->
|
|
<AvaloniaVersion>12.1.1</AvaloniaVersion>
|
|
<ReactiveUIVersion>24.1.0</ReactiveUIVersion>
|
|
<ReactiveUIPrimitivesVersion>7.1.1</ReactiveUIPrimitivesVersion>
|
|
<MicrosoftExtensionsVersion>10.0.11</MicrosoftExtensionsVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Label="Avalonia">
|
|
<PackageVersion Include="Avalonia" Version="$(AvaloniaVersion)" />
|
|
<PackageVersion Include="Avalonia.Desktop" Version="$(AvaloniaVersion)" />
|
|
<PackageVersion Include="Avalonia.Fonts.Inter" Version="$(AvaloniaVersion)" />
|
|
<PackageVersion Include="Avalonia.Headless" Version="$(AvaloniaVersion)" />
|
|
<PackageVersion Include="Avalonia.Headless.XUnit" Version="$(AvaloniaVersion)" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Label="Theme">
|
|
<PackageVersion Include="Semi.Avalonia" Version="12.1.0.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Label="ReactiveUI">
|
|
<!-- Avalonia.ReactiveUI is deprecated; ReactiveUI.Avalonia is the maintained successor.
|
|
ReactiveUI 24 runs on the Primitives engine: RxVoid replaces Unit, ISequencer replaces
|
|
IScheduler, Signal<T> replaces Subject<T>. Classic operator names still resolve. -->
|
|
<PackageVersion Include="ReactiveUI" Version="$(ReactiveUIVersion)" />
|
|
<PackageVersion Include="ReactiveUI.Avalonia" Version="$(AvaloniaVersion)" />
|
|
<PackageVersion Include="ReactiveUI.Primitives" Version="$(ReactiveUIPrimitivesVersion)" />
|
|
<PackageVersion Include="ReactiveUI.SourceGenerators" Version="3.2.0" />
|
|
<PackageVersion Include="ReactiveUI.Testing" Version="$(ReactiveUIVersion)" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Label="Microsoft.Extensions">
|
|
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="$(MicrosoftExtensionsVersion)" />
|
|
<PackageVersion
|
|
Include="Microsoft.Extensions.DependencyInjection.Abstractions"
|
|
Version="$(MicrosoftExtensionsVersion)"
|
|
/>
|
|
<PackageVersion Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsVersion)" />
|
|
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="$(MicrosoftExtensionsVersion)" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Label="Logging">
|
|
<PackageVersion Include="Serilog" Version="4.4.0" />
|
|
<PackageVersion Include="Serilog.Extensions.Logging" Version="10.0.0" />
|
|
<PackageVersion Include="Serilog.Sinks.Console" Version="6.1.1" />
|
|
<PackageVersion Include="Serilog.Sinks.File" Version="7.0.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Label="Testing">
|
|
<PackageVersion Include="coverlet.collector" Version="10.0.1" />
|
|
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.8.1" />
|
|
<PackageVersion Include="Shouldly" Version="4.3.0" />
|
|
<PackageVersion Include="xunit.v3" Version="3.2.2" />
|
|
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
|
|
</ItemGroup>
|
|
</Project>
|