Move all 154 PackageReference versions (96 distinct packages) out of the 14 project files into a single central Directory.Packages.props with ManagePackageVersionsCentrally=true. No version changes — every package was already pinned identically across projects (no conflicts detected), so this is a pure relocation: updates become one-line and cross-project version drift is structurally impossible. Also copy Directory.Packages.props into the Docker image build before restore: with CPM the csproj carry no versions, so the image's `dotnet restore` fails without the central manifest (verified: NU1015 across every project). Restore + Release build verified locally, plus a simulation of the image's restore layer under linux-x64 (0 errors; only the pre-existing NCalcSync/SQLitePCLRaw advisories remain, demoted to warnings, tracked in #8). Part of #14. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
15 lines
550 B
XML
15 lines
550 B
XML
<Project>
|
|
<PropertyGroup>
|
|
<EnableThreadingAnalyzers Condition="'$(EnableThreadingAnalyzers)' == ''">false</EnableThreadingAnalyzers>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference
|
|
Include="Microsoft.VisualStudio.Threading.Analyzers"
|
|
Condition="'$(EnableThreadingAnalyzers)' == 'true'">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
</Project>
|