- Directory.Packages.props: Central Package Management for every project; SonarAnalyzer.CSharp as a global analyzer so the build enforces the same rules as SonarCloud. - Directory.Build.props: NuGet audit of direct + transitive packages (moderate+ advisories fail the build), deterministic CI paths, dev version 2.0.0. - global.json: .NET SDK 10.0.402 (latest LTS feature band). - Bumps: Microsoft.Extensions.* 10.0.13, Serilog 4.4.0, Velopack 1.2.161, CsWin32 0.3.366, Microsoft.NET.Test.Sdk 18.11.0, coverlet.collector 10.1.0, xunit 2.9.3 -> xunit.v3 4.0.2 (VSTest mode) + xunit.runner.visualstudio 4.0.1. - The Elevator publish now inherits PublishReadyToRun from the app publish. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
60 lines
2.8 KiB
XML
60 lines
2.8 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). -->
|
|
<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://github.com/poli0981/CommandForge</RepositoryUrl>
|
|
<PackageProjectUrl>https://github.com/poli0981/CommandForge</PackageProjectUrl>
|
|
<RepositoryType>git</RepositoryType>
|
|
<Version>2.0.0</Version>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|