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>
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<Solution>
|
|
<Folder Name="/Solution Items/">
|
|
<File Path="build.ps1" />
|
|
<File Path="build.sh" />
|
|
<File Path="run.ps1" />
|
|
<File Path="run.sh" />
|
|
<File Path=".editorconfig" />
|
|
<File Path=".gitattributes" />
|
|
<File Path=".gitignore" />
|
|
<File Path="Directory.Build.props" />
|
|
<File Path="Directory.Packages.props" />
|
|
<File Path="global.json" />
|
|
<File Path="NuGet.config" />
|
|
<File Path="README.md" />
|
|
<File Path="CLAUDE.md" />
|
|
</Folder>
|
|
<Folder Name="/src/">
|
|
<Project Path="src/AvParser.Core/AvParser.Core.csproj" />
|
|
<Project Path="src/AvParser.Infrastructure/AvParser.Infrastructure.csproj" />
|
|
<Project Path="src/AvParser.UI/AvParser.UI.csproj" />
|
|
<Project Path="src/AvParser.Desktop/AvParser.Desktop.csproj" />
|
|
</Folder>
|
|
<Folder Name="/tests/">
|
|
<File Path="tests/Directory.Build.props" />
|
|
<Project Path="tests/AvParser.Core.Tests/AvParser.Core.Tests.csproj" />
|
|
<Project Path="tests/AvParser.UI.Tests/AvParser.UI.Tests.csproj" />
|
|
<Project Path="tests/AvParser.UI.HeadlessTests/AvParser.UI.HeadlessTests.csproj" />
|
|
</Folder>
|
|
</Solution>
|