Library projects reference sibling projects and packages consistently #47
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil#47
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
About 166
ItemGroups in 50 csproj files add a<PackageReference ... Version="*" />under'$(USE_LOCAL_INCLUDES)' == 'false' Or Exists('..\X\X.csproj'), so with the sibling present boththe project and the package reference are added (for example
src/dotnet/src/Ninlil.Dns.Server.Tsig/Ninlil.Dns.Server.Tsig.csproj:22-46). OnlyNinlil.Common.Console.csproj:28usesOr !Exists(...), which is what the pattern means. FourNinlil.Common.*projects overrideAuthorswithfrejagail(.csproj:3) and repeat settingsfrom
Directory.Build.props.What changes
First inspect a packed
.nupkg(dotnet packof one library) and its.nuspec: record whetherthe dependency is listed once, and its version range. Then change
Or ExiststoOr !Existseverywhere, remove the
Authorsoverrides and the duplicated properties (or keepAuthorsifthe owner wants it; flag it in the PR).
Acceptance
-p:USE_LOCAL_INCLUDES=false(the latter against a localfeed, or report why it cannot run here);
dotnet packnuspec diff before and after attached.Source
b21-design.md:286(routed to release prep; not done before the release);d-design.md:392.Ghost referenced this issue2026-11-05 11:28:38 -05:00