Files
CommandForge/Directory.Build.props
T
poli0981andClaude Opus 5.5 7bad284c21
Build / build (pull_request) Successful in 1m40s
Build / package (pull_request) Successful in 7m16s
Reusable / Qodana / Qodana (pull_request) Successful in 6m36s
Qodana / qodana (pull_request) Successful in 6m36s
Security / workflow-lint (pull_request) Successful in 7s
Reusable / Security / Rust (cargo-deny) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 9s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 18s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 12s
Reusable / Security / .NET (NuGetAudit) (pull_request) Successful in 41s
Security / scan (pull_request) Successful in 1m22s
chore(release): 2.3.0
CommandForge moves off GitHub: updates from releases.poli0981.dev (Cloudflare
R2), the source on Gitea, issues on the GitLab mirror, CI on Gitea Actions,
Renovate for dependencies, SHA256SUMS and a CycloneDX SBOM with every
release. Installs of 2.2.0 and older can't update themselves (they ask
GitHub) and need this version once by hand; the notes say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:26:39 +07:00

71 lines
3.4 KiB
XML

<Project>
<!--
Shared build settings for all CommandForge projects.
Target frameworks are declared per-project (Domain/Application = net10.0 pure,
the Windows-facing projects = net10.0-windows) to hard-enforce the Clean
Architecture boundary (see docs/architectures.md, golden rule #4).
-->
<PropertyGroup>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Deterministic>true</Deterministic>
<!-- Required so IDE0005 (remove unnecessary usings) runs at build time
(see dotnet/roslyn#41640). CS1591 (missing XML doc) is suppressed so we
don't force XML docs on every public member. -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<!-- Supply-chain audit: restore checks direct AND transitive packages against the GitHub
Advisory Database. Moderate+ advisories (NU1902-NU1904) fail the build through
TreatWarningsAsErrors; low-severity ones (NU1901) stay warnings. -->
<NuGetAudit>true</NuGetAudit>
<NuGetAuditMode>all</NuGetAuditMode>
<NuGetAuditLevel>low</NuGetAuditLevel>
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1901</WarningsNotAsErrors>
<!-- Normalized source paths in PDBs for CI builds (reproducible artifacts). Gitea Actions sets
GITHUB_ACTIONS=true too, for compatibility. -->
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
<!--
Package / assembly metadata, inherited by every project. Surfaced in Settings -> About
and the Report-Bug template (via Assembly.GetName().Version), in the file properties, and
in the Velopack installer (scripts/pack.ps1 passes Authors via the packAuthors flag).
Version here is only the dev-build default; scripts/pack.ps1 overrides it at publish time
with the Version/FileVersion/InformationalVersion properties off the git tag. AssemblyVersion is
intentionally NOT pinned, so it follows Version and the in-app "App version" stays accurate
(binding-redirect churn is a non-issue for a self-contained app, not a shared library).
-->
<PropertyGroup>
<Product>CommandForge</Product>
<Authors>poli0981</Authors>
<Company>poli0981</Company>
<Copyright>Copyright © 2026 poli0981</Copyright>
<Description>Run complex Windows system commands through a visual, categorized interface.</Description>
<RepositoryUrl>https://git.poli0981.dev/poli0981/CommandForge</RepositoryUrl>
<PackageProjectUrl>https://git.poli0981.dev/poli0981/CommandForge</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<Version>2.3.0</Version>
</PropertyGroup>
<!-- Sonar's C# rules as a Roslyn analyzer, enforced at build time (warnings are errors). Package
versions live in each .csproj, not in Directory.Packages.props (the project's convention;
Renovate and the CycloneDX SBOM read them there). -->
<ItemGroup>
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.37.0.15768">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>