Restore inside the docker build was failing because TreatWarningsAsErrors promotes NU1902/NU1903/NU1904 (vulnerable package warnings) to errors. Bump the flagged packages to advisory-free versions: - MailKit 4.15.1 -> 4.16.0 (GHSA-9j88-vvj5-vhgr) - Microsoft.AspNetCore.DataProtection.EFCore 10.0.5 -> 10.0.7 (GHSA-9mv3-2cwr-p262, transitively pulls fixed System.Security.Cryptography.Xml — GHSA-37gx-xxp4-5rgx, GHSA-w3x6-4m5h-cxqf) - OpenTelemetry.Api (transitive via Akka.Hosting) 1.9.0 -> 1.15.3 (GHSA-g94r-2vxg-569j, GHSA-8785-wc3w-h8q6) — added as a direct PackageReference in ScadaLink.Host to override the Akka.Hosting pin To resolve the NU1605 downgrade chain triggered by DataProtection.EFCore 10.0.7 (which transitively requires Microsoft.EntityFrameworkCore >= 10.0.7 and friends), bump every Microsoft.* 10.0.5 reference across src/ and tests/ to 10.0.7 in lockstep.
35 lines
1.5 KiB
XML
35 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<IsPackable>false</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="coverlet.collector" Version="6.0.4" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.7" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.7" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.7" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.7" />
|
|
<PackageReference Include="Microsoft.Extensions.Options" Version="10.0.7" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="10.0.7" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
|
|
<PackageReference Include="xunit" Version="2.9.3" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Using Include="Xunit" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="../../src/ScadaLink.Security/ScadaLink.Security.csproj" />
|
|
<ProjectReference Include="../../src/ScadaLink.ConfigurationDatabase/ScadaLink.ConfigurationDatabase.csproj" />
|
|
<ProjectReference Include="../../src/ScadaLink.Commons/ScadaLink.Commons.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|