53 lines
2.9 KiB
XML
53 lines
2.9 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.3.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>
|
|
|
|
<!--
|
|
Treat every culture of the translations as valid even when the build machine's ICU does not know it (Dhivehi on
|
|
Ubuntu): otherwise its satellite assembly gets a wrong resource name and is not copied to referencing projects.
|
|
-->
|
|
<EnableCustomCulture>true</EnableCustomCulture>
|
|
|
|
<!--
|
|
Restore only the runtime packs of the frameworks a project really references. Otherwise every project with a
|
|
runtime identifier (the NativeAOT CLI) also downloads the ASP.NET Core and Windows Desktop runtime packs, which
|
|
Hash Tool never ships, and their security advisories show up as alerts for this repository.
|
|
-->
|
|
<DisableTransitiveFrameworkReferenceDownloads>true</DisableTransitiveFrameworkReferenceDownloads>
|
|
|
|
<!-- 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>
|