Skip to content

Commit 0a48035

Browse files
committed
fix(api-dto): import Dto.Shared.projitems so the package actually packs
mass-release.yml stopped on api-dto with NU5026: The file '.../Codout.Framework.Api.Dto/bin/Release/netstandard2.1/ Codout.Framework.Api.Dto.dll' to be packed was not found on disk. Root cause: Codout.Framework.Api.Dto/ contains only the .csproj — no .cs files anywhere. The shared types (Dto, IDto, EntityDto<T>, IEntityDto<T>) live in Codout.Framework.Dto.Shared/ and are pulled into consumer csprojs via a Shared Project Import. Codout.Framework .Application and Codout.Framework.Api.Client both do this: <Import Project="..\Codout.Framework.Dto.Shared\ Codout.Framework.Dto.projitems" Label="Shared" /> Codout.Framework.Api.Dto.csproj never had that line. Build produced no assembly, and pack had nothing to package. This fix adds the same Import line. No version bump: the broken 6.3.0 was never produced (pack failed), so the version slot is still free. https://claude.ai/code/session_015jxScBEvdKkRwGvJTgK5Py
1 parent 2c1f3ae commit 0a48035

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Codout.Framework.Api.Dto/Codout.Framework.Api.Dto.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,9 @@
1414
<Folder Include="Default\" />
1515
</ItemGroup>
1616

17+
<!-- Same shared-source import pattern used by Codout.Framework.Application and
18+
Codout.Framework.Api.Client. Without it this project has zero .cs files,
19+
MSBuild produces no assembly, and `dotnet pack` fails with NU5026. -->
20+
<Import Project="..\Codout.Framework.Dto.Shared\Codout.Framework.Dto.projitems" Label="Shared" />
21+
1722
</Project>

0 commit comments

Comments
 (0)