Files
CommandForge/src/CommandForge.Infrastructure/CommandForge.Infrastructure.csproj
T
poli0981andClaude Opus 5.5 304693cfa0 build: keep package versions in each .csproj
GitHub's dependency graph reads NuGet versions from .csproj files but not from
Directory.Packages.props, so Central Package Management would have blinded Dependabot alerts,
dependency review and the release SBOM. Versions move back into the projects (same versions),
SonarAnalyzer.CSharp is now referenced from Directory.Build.props, and the xUnit v3 test
project declares OutputType Exe explicitly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 20:02:41 +07:00

39 lines
1.6 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0-windows</TargetFramework>
<!-- CsWin32 generates unsafe interop for GlobalMemoryStatusEx (ISystemInfoService). -->
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\CommandForge.Application\CommandForge.Application.csproj" />
</ItemGroup>
<ItemGroup>
<!-- Lets the test project drive ProcessCommandExecutor with a fake IProcessRunner,
and the Elevator helper reuse the catalog + executor + pipe protocol. -->
<InternalsVisibleTo Include="CommandForge.Tests" />
<InternalsVisibleTo Include="CommandForge.Elevator" />
</ItemGroup>
<ItemGroup>
<!-- Vetted, read-only command catalog (golden rule #1). Logical names:
CommandForge.Infrastructure.Catalog.categories.json / .commands.json -->
<EmbeddedResource Include="Catalog\categories.json" />
<EmbeddedResource Include="Catalog\commands.json" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.13" />
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.366">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Serilog" Version="4.4.0" />
<!-- Keep in lockstep with the vpk tool version in .config/dotnet-tools.json. -->
<PackageReference Include="Velopack" Version="1.2.161" />
</ItemGroup>
</Project>