Replace AetherDb scripts with one console project
Running loose script files caches a build per script and does not rebuild when the referenced project changes, so scripts silently ran against stale schemas: item-census held a binary predating FactionProductData and failed with a TypeLoadException surfacing as a NullReferenceException elsewhere, and station-fit last ran on a pre-role build. One project with commands (doctor, census, station-fit, migrate-products) rebuilds through the normal project graph, and shares one Open. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
b8ecfffd08
commit
9f9149bd2f
6 changed files with 152 additions and 100 deletions
16
tools/AetherDb/AetherDb.csproj
Normal file
16
tools/AetherDb/AetherDb.csproj
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<!-- Inspects and edits GameData/AetherDB.msgpack through the headless Aetheria.Shared build of ServerShared.
|
||||
A real project rather than file-based scripts on purpose: running a loose script file caches a build per
|
||||
script and does not rebuild when the referenced project changes, so scripts ran against stale schemas. -->
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<Nullable>disable</Nullable>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<RootNamespace>AetherDbTool</RootNamespace>
|
||||
<NoWarn>$(NoWarn);CS1701;CS1702</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Aetheria.Shared\Aetheria.Shared.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Loading…
Reference in a new issue