Files
captureimg/Directory.Build.props
T
poli0981andClaude Opus 5.5 72ad7d9e36 chore(release): 2.0.2 (#29)
- Version 2.0.2; CHANGELOG [2.0.2] - 2026-10-26 (also the release and in-app update notes):
  the .NET 10.0.14 security update as the minimum runtime, Microsoft.Extensions 10.0.14.
- Lock files refreshed for the project versions.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 10:29:38 +00:00

62 lines
3.0 KiB
XML

<Project>
<PropertyGroup Label="Language / compiler">
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<!-- Needed so IDE0005 (unnecessary using) is reported by the compiler, not only in the IDE.
CS1591 (missing XML doc on public members) stays muted below. -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Label="Reproducible restore + build">
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<RestoreLockedMode Condition="'$(CI)' == 'true'">true</RestoreLockedMode>
<!-- Dependabot's NuGet updater runs on Linux. Without this, every Windows-TFM project fails
to evaluate there and every newer package version is reported "not compatible", so no
update PR is ever opened. Harmless on Windows. -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<!-- The app ships for win-x64 only. Declaring the RID for every project keeps each
packages.lock.json identical between a plain `dotnet restore` and the
`dotnet publish -r win-x64` restore, so locked mode works for both. -->
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
</PropertyGroup>
<PropertyGroup Label="Supply chain">
<NuGetAudit>true</NuGetAudit>
<NuGetAuditMode>all</NuGetAuditMode>
<NuGetAuditLevel>low</NuGetAuditLevel>
</PropertyGroup>
<PropertyGroup Label="Version (single source of truth — the release workflow checks the tag against it)">
<Version>2.0.2</Version>
<AssemblyVersion>$([System.Text.RegularExpressions.Regex]::Match('$(Version)', '^\d+\.\d+\.\d+').Value).0</AssemblyVersion>
<FileVersion>$(AssemblyVersion)</FileVersion>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
<PropertyGroup Label="Product metadata">
<Product>CaptureImage</Product>
<Company>CaptureImage Contributors</Company>
<Authors>poli0981 and contributors</Authors>
<Copyright>Copyright (c) CaptureImage Contributors. Licensed under GPL-3.0-or-later.</Copyright>
<NeutralLanguage>en</NeutralLanguage>
<RepositoryUrl>https://github.com/poli0981/captureimg</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://github.com/poli0981/captureimg</PackageProjectUrl>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
</PropertyGroup>
<PropertyGroup Label="Repo-wide suppressions">
<!-- CA1014: CLSCompliant attribute is meaningless for an app. CS1591: XML docs on every
public member are not required. -->
<NoWarn>$(NoWarn);CA1014;CS1591</NoWarn>
</PropertyGroup>
</Project>