Update dependencies and clean up UIText.cs

- Upgraded test project to .NET 10.0
- Bumped dependency packages to their latest releases.
- Added DotNet.ReproducibleBuilds to both projects.
This commit is contained in:
Tony Bark 2026-01-07 03:05:25 -05:00
parent 87ea439dfe
commit c9a7c6c309
3 changed files with 9 additions and 7 deletions

View file

@ -1,23 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PackageReference Include="coverlet.collector" Version="6.0.4">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Update="DotNet.ReproducibleBuilds" Version="1.2.39" />
</ItemGroup>
<ItemGroup>

View file

@ -21,5 +21,8 @@
<PropertyGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<IsAotCompatible>true</IsAotCompatible>
</PropertyGroup>
<ItemGroup>
<PackageReference Update="DotNet.ReproducibleBuilds" Version="1.2.39" />
</ItemGroup>
</Project>

View file

@ -64,7 +64,5 @@ public class UIText : IUIText
return files.Any() ? CST.Parse(File.ReadAllText(files.First()), key) : "***MISSING***";
}
}