Files
HashTool/Directory.Build.props
T
poli0981andClaude Opus 5.5 c8ccabee57 fix: harden parsing and edge cases found by new analyzers
Enables Meziantou.Analyzer and ReferenceTrimmer for every project (CI builds
with -warnaserror) and fixes what they and the new tests found:

- Checksum parsing bounds regex work: 1 s match timeout and over-long lines
  are reported as invalid instead of stalling.
- Release notes from the network are converted with timed-out generated
  regexes; blank lines before lists are no longer swallowed.
- --files-from only deletes the app's own temporary list, never an
  arbitrary file passed on the command line.
- Opening the data folder no longer accepts sibling folders that merely
  share a name prefix.
- Search highlighting uses the same culture-aware match length as the
  filter.
- British English is detected for Australia, New Zealand, Ireland and
  South Africa.
- Separate run/stop buttons per row so the tooltip and screen-reader name
  match the action; JSON/CSV export types are translated.
- Settings saves are serialised under a lock; ConfigureAwait in Core.
- Version 1.2.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 13:16:40 +07:00

40 lines
2.1 KiB
XML

<Project>
<!-- Shared settings for every project in the repository. -->
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings>
<!-- Single source of truth for the product version (the release workflow also passes -p:Version=<tag>). -->
<Version>1.2.0</Version>
<Authors>poli0981</Authors>
<Company>poli0981</Company>
<Product>Hash Tool</Product>
<Copyright>Copyright (c) 2026 poli0981</Copyright>
<RepositoryUrl>https://github.com/poli0981/HashTool</RepositoryUrl>
<!-- Show "1.2.0", not "1.2.0+<commit>", in the app and in Velopack's version checks. -->
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<!-- Supply chain: audit direct and transitive packages on every restore. -->
<NuGetAudit>true</NuGetAudit>
<NuGetAuditMode>all</NuGetAuditMode>
<NuGetAuditLevel>low</NuGetAuditLevel>
<!-- ReferenceTrimmer reports package and project references that are never used. -->
<ReferenceTrimmerUseSymbolAnalysis>true</ReferenceTrimmerUseSymbolAnalysis>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Documentation comments are for readers, not a public API: do not demand them for every member or parameter. -->
<NoWarn>$(NoWarn);CS1591;CS1573</NoWarn>
</PropertyGroup>
<!-- Analyzers for every project: unused references and common .NET mistakes (culture, async, comparisons). -->
<ItemGroup>
<PackageReference Include="ReferenceTrimmer" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
<PackageReference Include="Meziantou.Analyzer" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
</ItemGroup>
</Project>