Library projects reference a sibling project or its package, never both #305
No reviewers
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!305
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/47-csproj-references"
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?
Library projects now reference a sibling project or its NuGet package, never both.
'$(USE_LOCAL_INCLUDES)' == 'false' Or Exists(...)toOr !Exists(...), the patternNinlil.Common.Console.csprojalready used: the package is used only when local includes are off or the sibling project is missing. Every condition was checked to name the same sibling as its ProjectReference pair, and every path exists.Ninlil.Common.*csproj files drop properties that repeatDirectory.Build.propsexactly (TargetFramework, ImplicitUsings, Nullable, NoWarn, Company).<Authors>frejagail</Authors>override, so those four packages nameNinlil Contributorslike every other package. #47 lets you keep it; if you want it back, say so and it is a one-line revert per file.Evidence:
dotnet packnuspecs before and after: dependencies identical (each sibling once, at the pack version); the only change is<authors>on the Common packages. The Common assemblies are byte-size identical.-p:USE_LOCAL_INCLUDES=falseagainst a scratch local feed of all 52 library packages, also 0 warnings, siblings resolved as packages.pack-packages.sh(release) still packs with correct dependencies; nothing else usesUSE_LOCAL_INCLUDES.Closes #47
🤖 Generated with Claude Code
https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK